Link to home
Start Free TrialLog in
Avatar of Wtritepo
Wtritepo

asked on

Deformatting the Currency back to BigDecimal

I have formatted the BigDecimal in this way.

NumberFormat moneyFormat = NumberFormat.getCurrencyInstance(Locale.US);
maxRefunds = moneyFormat.format(maxRefundsDecimal.doubleValue());

How do I deformat it?

thanks,
Avatar of Ajay-Singh
Ajay-Singh

Use moneyFormat.parse(text)
ASKER CERTIFIED SOLUTION
Avatar of marklorenz
marklorenz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial