NumberForm

NumberForm[expr, n]
prints with approximate real numbers in expr given to n-digit precision.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Display the first 10 digits of a numeric approximation to :

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

Display a number with 3 precise digits and 4 digits to the right of the decimal:

In[1]:=
Click for copyable input
Out[1]//NumberForm=
New in 1 | Last modified in 3
New to Mathematica? Find your learning path »
Have a question? Ask support »