This is documentation for Mathematica 6, 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.
AccountingForm[expr, n]
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:
Click for copyable input
New in 2