NumberForm

NumberForm[expr,n]
prints with approximate real numbers in expr given to ndigit 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=
Introduced in 1988
(1.0)
| Updated in 1996
(3.0)