This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


prints with all numbers in expr given in standard accounting notation.
prints with numbers given to n-digit precision.
  • The following options can be given:
DigitBlockInfinitynumber of digits between breaks
ExponentFunctionAutomaticfunction to apply to exponents
ExponentStep1steps by which exponents can increase
NumberFormatAutomaticfunction used to assemble mantissa, base, and exponent
NumberMultiplier""string to use to indicate multiplication
NumberPadding{"",""}strings to use for left and right padding
NumberPoint"."decimal point string
NumberSeparator{","," "}string to insert at breaks between blocks
NumberSigns{{"(",")"},""}strings to use for signs of negative and positive numbers
SignPaddingFalsewhether to insert padding after the sign
  • AccountingForm acts as a "wrapper", which affects printing, but not evaluation.
In accounting form, negative numbers and scientific notation are not used:
In accounting form, negative numbers and scientific notation are not used:
Click for copyable input
The default display for a machine number:
Display more digits than the default:
Display fewer digits:
Format a complex number:
Format a high-precision number:
Use fewer digits:
Change the display of numbers in a vector:
A matrix:
Change the display of inexact numbers in a mixed expression:
A default integer:
Digits separated in blocks of length 3:
Use five-digit blocks with spaces as separators:
Compute approximate powers of :
Use exponents that are multiples of 3:
Include exponents for powers greater than 10:
Display three numbers in accounting form:
Display the numbers in a Fortran-like form:
Use the default multiplier:
Use an asterisk (*) instead:
The default does not pad on the left or right:
Pad with spaces on the left:
The default is a period:
Display with a comma (,) instead:
The default separator is a comma (,):
Use spaces instead:
The default uses parentheses for negative numbers:
Use negative and positive signs instead:
Use words instead of symbols:
The default pads before signs:
Pad between signs and numbers instead:
AccountingForm does not have exponents:
NumberForm and PaddedForm have exponents for powers greater than 5:
ScientificForm has a single digit to the left of the decimal:
EngineeringForm uses exponents that are multiples of 3:
Affect the display of numbers in TableForm or MatrixForm:
Placeholder zeros may be needed if the requested precision is small:
New in 2