开发者

Exponent Function in C#

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)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜