decimal operator in Convert.toDouble() C#

79

decimal operator in Convert.toDouble() C# -

NumberFormatInfo provider = new NumberFormatInfo();
provider.NumberDecimalSeparator = ".";
provider.NumberGroupSeparator = ",";
double doubleVal = Convert.ToDouble("855.65", provider);

Comments

Submit
0 Comments