({{, (RefLink[SignPadding, paclet:ref/SignPadding])
is an option for (RefLink[NumberForm, paclet:ref/NumberForm]) and related functions that specifies whether padding should be inserted after signs. }})

OpenersNotesSection(Spacer1)Details

SignPadding->(RefLink[True, paclet:ref/True]) specifies that any padding that is needed should be inserted between the sign and the digits in a number.

SignPadding->(RefLink[False, paclet:ref/False]) specifies that the padding should be inserted outside the sign.

Different sign characters can be present to the left and right of the number, as specified by the option (RefLink[NumberSigns, paclet:ref/NumberSigns]). Padding strings on either side of the number are given by (RefLink[NumberPadding, paclet:ref/NumberPadding])->{"sleft","sright"}. Whether those padding strings are placed inside the corresponding signs is given by SignPadding->{lbool,rbool}.

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

The default pads before signs:

NumberForm[{-1.23,2.46},5,NumberPadding->{" "," "}]

Pad between signs and numbers instead:

NumberForm[{-1.23,2.46},5,SignPadding->True,NumberPadding->{" "," "}]

OpenersExampleSection1(Spacer1)Scope  (2)

Use (RefLink[SignPadding, paclet:ref/SignPadding]) with (RefLink[PaddedForm, paclet:ref/PaddedForm]):

PaddedForm[{-1.23,2.46},5,SignPadding->True,NumberPadding->{" ",""}]

(RefLink[EngineeringForm, paclet:ref/EngineeringForm]):

EngineeringForm[{-1.23,2.46},5,SignPadding->True,NumberPadding->{" ",""}]

(RefLink[ScientificForm, paclet:ref/ScientificForm]):

ScientificForm[{-1.23,2.46},5,SignPadding->True,NumberPadding->{" ",""}]

(RefLink[AccountingForm, paclet:ref/AccountingForm]):

AccountingForm[{-1.23,2.46},5,SignPadding->True,NumberPadding->{" ",""}]

(RefLink[PercentForm, paclet:ref/PercentForm]) by default pads before the – and % signs:

PercentForm[-0.001234``6,{8,5},NumberPadding->{" ","*"}]

Pad inside the signs:

PercentForm[-0.001234``6,{8,5},NumberPadding->{" ","*"},SignPadding->{True,True}]

Pad after the signs:

PercentForm[-0.001234``6,{8,5},NumberPadding->{" ","*"},SignPadding->{True,False}]

Pad outside the signs:

PercentForm[-0.001234``6,{8,5},NumberPadding->{" ","*"},SignPadding->{False,False}]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[NumberPadding, paclet:ref/NumberPadding])  ▪  (RefLink[NumberSigns, paclet:ref/NumberSigns])  ▪  (RefLink[NumberForm, paclet:ref/NumberForm])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Output Formats for Numbers, paclet:tutorial/OutputFormatsForNumbers])}})}})