Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个字符串1.00E+4
1.00E+4
是否有任何内置函数可以将此字符串转换为10000.(整数转换 [1.00E+4=10000])。?
10000
现在我对这种字符串使用正则表达式
你可以做:
double.Parse("1.00E+4", CultureInfo.InvariantCulture)