我想以非科学的形式打印3*10^-9表示的数字:0.000000003。我该怎么做呢?NumberForm[N[3*10^-9], {Infinity, 10}]不工作。谢谢。
发布于 2012-04-29 04:57:43
AccountingForm[3. 10^-9, NumberSigns -> {"-", ""}]
AccountingForm[-3. 10^-9, NumberSigns -> {"-", ""}]
(* 0.000000003 *)
(* -0.000000003 *) 发布于 2012-06-17 08:11:12
我认为下面的方法是你“应该”去做的。
NumberForm[N[3*10^-9], ExponentFunction -> (Null &)]像这样设置的ExponentFunction选项只是指定您不需要任何指数。(您还可以使用该选项将输出限制为某些幂的指数。)
(我使用的是Mathematica 7.0。)
https://stackoverflow.com/questions/10367386
复制相似问题