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.
Details
- NumberPadding->{"sleft","sright"} specifies strings to use for padding on the left and right.
- In NumberForm, the default setting is NumberPadding->{"",""}.
- In PaddedForm, the default setting is NumberPadding->{" ","0"}. »
- The strings specified as padding are inserted in place of digits.
Examples
open allclose allScope (2)
Use NumberPadding with PaddedForm:
PaddedForm pads with zeros on the right by default:
Wolfram Research (1991), NumberPadding, Wolfram Language function, https://reference.wolfram.com/language/ref/NumberPadding.html.
Text
Wolfram Research (1991), NumberPadding, Wolfram Language function, https://reference.wolfram.com/language/ref/NumberPadding.html.
CMS
Wolfram Language. 1991. "NumberPadding." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NumberPadding.html.
APA
Wolfram Language. (1991). NumberPadding. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NumberPadding.html