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  /

  • SignPadding is an option for NumberForm and related functions which specifies whether padding should be inserted after signs.
  • SignPadding -> True specifies that any padding that is needed should be inserted between the sign and the digits in a number.
  • SignPadding -> False specifies that the padding should be inserted before the sign.
  • See the Mathematica book: Section 2.8.7.
  • See also: NumberPadding.

    Further Examples

    The next two commands print each number with room for a total of 7 digits, and with 4 digits to the right of the decimal point.



    Setting the option SignPadding -> True inserts leading spaces after the minus sign.