Formats a number in accounting notation: like `NumberForm`, but negative
AccountingForm[expr]
AccountingForm[expr, n]
ToString[AccountingForm[1234.5]]
→ 1234.5ToString[AccountingForm[-1234.5]]
→ (1234.5)ToString[AccountingForm[1234.5678, 3]]
→
AccountingForm::reqsigz: Requested number precision is lower than number of digits shown; padding with zeros.
1230.ToString[AccountingForm[-12.3, {5, 2}]]
→ (12.3)ToString[AccountingForm[12.3, {6, 3}, NumberPadding -> {" ", "0"}]]
→ 12.3000ToString[AccountingForm[-12.3, NumberSigns -> {"<", ">"}]]
→ <12.3ToString[AccountingForm[{-1.5, 2.5}]]
→ {(1.5), 2.5}- DigitBlock — default Infinity
- ExponentFunction — default Automatic
- ExponentStep — default 1
- NumberFormat — default Automatic
- NumberMultiplier — default " × "
- NumberPadding — default { "" , "" }
- NumberPoint — default "."
- NumberSeparator — default { " , " , " " }
- NumberSigns — default { { " ( " , " ) " } , "" }
- SignPadding — default False