Mathematica >

SignPadding

SignPadding
is an option for NumberForm and related functions that 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.
The default pads before signs:
Pad between signs and numbers instead:
The default pads before signs:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
 
Pad between signs and numbers instead:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF