Hope it helps. Just a note, the parse(String) method will return a long if possible so for your original example it will return a long with a value of 10. Therefore to insure that the final value is a double you must invoke the doubleValue() method. Garrett [ January 21, 2006: Message edited by: Garrett Rowe ]
Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peter
subject: Remove Currency Format - Can i parse back to a double?