ScientificNotationThreshold

ScientificNotationThreshold

is an option for NumberForm and related functions that specifies the threshold between the use of decimal notation and scientific notation to represent real numbers.

Details

  • The setting ScientificNotationThreshold{min,max} for integer values min<max indicates that a real number x will be represented in decimal form in base b if bmin|x|<bmax, or in scientific form otherwise.

Examples

open allclose all

Basic Examples  (2)

This number is shown by default in scientific notation:

In[1]:=
Click for copyable input
Out[1]//NumberForm=

Increase the upper threshold to 109 to show it still in decimal form:

In[2]:=
Click for copyable input
Out[2]//NumberForm=

This number is shown by default in scientific notation:

In[1]:=
Click for copyable input
Out[1]//NumberForm=

Decrease the lower threshold to 10-8 to show it still in decimal form:

In[2]:=
Click for copyable input
Out[2]//NumberForm=

Scope  (2)

Properties & Relations  (1)

See Also

NumberForm  ScientificForm  ExponentStep  ExponentFunction  DefaultPrintPrecision  MantissaExponent

Introduced in 2017
(11.2)