built in – Exponent Function in C# – Education Career Blog

i’ve a string like1.00E+4

Is there any built in function to convert this string to 10000.(Integer convertion 1.00E+4=10000).?

Now i’m using regular expression for this kind of strings

,

You can do:

double.Parse("1.00E+4", CultureInfo.InvariantCulture)

Leave a Comment