Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Input and Output / Number Formatting  /
AccountingForm

  • 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.

    In[1]:=

    Out[1]//AccountingForm=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.