Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

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.
  • NumberPadding specifies strings to use for padding on the left and right.
  • The strings specified as padding are inserted in place of digits.
Default format without padding:
Pad with a tab on the left:
Default format without padding:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
 
Pad with a tab on the left:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
PaddedForm pads with zeros on the right by default:
Pad with X's instead:
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF