i used a CurrencyFormatter to parse 2 number into its currency representation
currencyFormat.format(“10” + “.” + “99”) —> $10.99
I’m curious if there is a way to parse a string “$10.99” back to a number / double ?
so it is possible to get the value on the left side of the decimal and right side of the decimal.
thanks,
You could do this a number of ways. Here are 2 off the top of my head: