Return to Snippet

Revision: 30641
at August 18, 2010 20:10 by gilbitron


Updated Code
double val = Convert.ToDouble(Double.Parse("$123,456.98", System.Globalization.NumberStyles.Currency));
// val = 123456.98

Revision: 30640
at August 18, 2010 20:09 by gilbitron


Initial Code
double val = Convert.ToDouble(Double.Parse("$123,456.98", System.Globalization.NumberStyles.Currency));

Initial URL

                                

Initial Description

                                

Initial Title
C# Convert Currency to Double

Initial Tags
c, convert

Initial Language
C#