SignPadding

SignPadding
is an option for NumberForm and related functions that specifies whether padding should be inserted after signs.

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

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
New to Mathematica? Find your learning path »
Have a question? Ask support »