DOCUMENTATION CENTER SEARCH
Mathematica
>
Built-in
Mathematica
Symbol
Output Formats for Numbers
Tutorials »
|
SignPadding
NumberForm
See Also »
NumberPadding
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.
MORE INFORMATION
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
CLOSE ALL
Basic Examples
(2)
Default format without padding:
In[1]:=
Out[1]//NumberForm=
Pad with a tab on the left:
In[1]:=
Out[1]//NumberForm=
SEE ALSO
SignPadding
NumberForm
TUTORIALS
Output Formats for Numbers
New in 2
© 2008 Wolfram Research, Inc.