Jul
5
2013
Follow one simple line of C# code to convert from a string currency to double.
var strCurrency = "$103,02.54";
var dOutput = double.Parse(strCurrency, NumberStyles.Currency);
dOutput is now holding value: 10302.54
NumberStyles.Currency using have namespace: using System.Globalization;