C# Convert Currency to Double


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. double val = Convert.ToDouble(Double.Parse("$123,456.98", System.Globalization.NumberStyles.Currency));
  2. // val = 123456.98

Report this snippet


Comments


You need to login to view comments.