This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Input and Output / Number Formatting  /

  • AccountingForm[ expr ] prints with all numbers in expr given in standard accounting notation.
  • AccountingForm never uses scientific notation.
  • AccountingForm uses parentheses to indicate negative numbers.
  • AccountingForm takes the same options as NumberForm, but uses a different default function for ExponentFunction, and a different default for NumberSigns.
  • AccountingForm acts as a "wrapper", which affects printing, but not evaluation.
  • See the Mathematica book: Section 2.8.7.
  • See also: PaddedForm, NumberForm.

    Further Examples

    This converts the numbers in the list to an accounting form.