Display of Numbers

Mathematica provides flexible mechanisms for full typeset formatting of numbers of any magnitude and precision, to optimize readability, portability and external compatibility.

ReferenceReference

NumberForm general control of number display

PaddedForm insert padding to align numbers

ScientificForm scientific notation

EngineeringForm engineering notation

InputForm, OutputForm plain text versions of numbers

CForm, FortranForm C and Fortran-like "E" notation

AccountingForm negative numbers in ..., etc.

BaseForm display in base b

NumberMarks option to include precision information with marks

$NumberMarks globally determine whether to use marks for number portability

N compute to specified precision

New to Mathematica? Find your learning path »
Have a question? Ask support »