Wtritepo
asked on
Deformatting the Currency back to BigDecimal
I have formatted the BigDecimal in this way.
NumberFormat moneyFormat = NumberFormat.getCurrencyIn stance(Loc ale.US);
maxRefunds = moneyFormat.format(maxRefu ndsDecimal .doubleVal ue());
How do I deformat it?
thanks,
NumberFormat moneyFormat = NumberFormat.getCurrencyIn
maxRefunds = moneyFormat.format(maxRefu
How do I deformat it?
thanks,
Use moneyFormat.parse(text)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.