Search code examples
wolfram-mathematicadecimalprecisionmathematica-7

Printing a decimal in non-scientific form in Mathematica


I would like to print the number represented by 3*10^-9 in non-scientific form: 0.000000003. How can I do this? NumberForm[N[3*10^-9], {Infinity, 10}] does not work. Thank you.


Solution

  • AccountingForm[3. 10^-9, NumberSigns -> {"-", ""}]
    AccountingForm[-3. 10^-9, NumberSigns -> {"-", ""}]
    
    (* 0.000000003 *)
    (* -0.000000003 *)