This is documentation for Mathematica 5, 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 /

NumberPadding

FilledSmallSquare NumberPadding is an option for NumberForm and related functions which gives strings to use as padding on the left- and right-hand sides of numbers.

FilledSmallSquare NumberPadding -> "sleft", "sright" specifies strings to use for padding on the left and right.

FilledSmallSquare In NumberForm, the default setting is NumberPadding -> {"", ""}.

FilledSmallSquare In PaddedForm, the default setting is NumberPadding -> {" ", "0"}.

FilledSmallSquare The strings specified as padding are inserted in place of digits.

FilledSmallSquare See Section 2.9.7.

FilledSmallSquare See also: SignPadding.

FilledSmallSquare New in Version 2.

Further Examples