convert string to double with userdefined decimal separator
tolikpunkoff May 3rd, 2018 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- public static double ConvertToDouble(string Value, string DecimalSeparator)
- NumberFormatInfo format = new NumberFormatInfo();
- return Convert.ToDouble(Value, format);
RAW Paste Data