Link to home
Start Free TrialLog in
Avatar of mgcIT
mgcITFlag for United States of America

asked on

convert Currency back to double

If i've used the following code to convert a double into formatted currency is there any way to convert back?

for instance:

NumberFormat FormatCurrency = NumberFormat.getCurrencyInstance();
String sBalance = FormatCurrency.format(5100.25);

now that sBalance = $5,100.25 how could I convert this back to 5100.25 as a double?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of shinobun
shinobun

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
Avatar of mgcIT

ASKER

perfect... thanks