I was trying with DecimalForm, but I read that the suitable one is NumberForm[0.5^20, 12] from version 11.

But when I evaluate

NumberForm[0.5^20, 12]

Mathematica 11 shows the result in scientific notation. How can I obtain the output in pure decimal notation?

  • 2
    $\begingroup$ You can use an option like NumberForm[0.5^20, {12, 11}, ScientificNotationThreshold -> {-100, 100}]. $\endgroup$ Commented Dec 2, 2017 at 10:37
  • $\begingroup$ @b.gatessucks Math 11 says NumberForm::optx: Unknown option ScientificNotationThreshold in NumberForm[9.53674 10^(-7),{12,11},ScientificNotationThreshold->{-100,100}]. Mathematica it´s so complicate for simple things!! and so beautifull in other ones. $\endgroup$
    – Mika Ike
    Commented Dec 2, 2017 at 10:38

2 Answers 2


You can use AccountingForm consult help for it. I tried and look the result

AccountingForm[0.2^20, 40]

  • 2
    $\begingroup$ @MikaIke You might not be happy with AccountingForm when using negative numbers! $\endgroup$
    – Carl Woll
    Commented Dec 2, 2017 at 17:11

Before M11.2 you can use ExponentFunction:

NumberForm[0.5^20, 12, ExponentFunction->(Null&)]


In M11.2 you can also use the option ScientificNotationThreshold as suggested by @b.gatessucks:

NumberForm[0.5^20, 12, ScientificNotationThreshold->{-Infinity, Infinity}]


Instead of NumberForm, you could use DecimalForm:




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.