小编Ehs*_*san的帖子

将double转换为科学计数法,并在小数点后使用特定数字

我想将double转换为科学记数法,如下所示:

-0.00752382528 => -.752383E-1
Run Code Online (Sandbox Code Playgroud)

我可以用.ToString()或Regex做到这一点吗?

c# double scientific-notation

3
推荐指数
1
解决办法
8022
查看次数

标签 统计

c# ×1

double ×1

scientific-notation ×1