SignPadding
is an option for NumberForm and related functions that specifies whether padding should be inserted after signs.
Details
- SignPaddingTrue specifies that any padding that is needed should be inserted between the sign and the digits in a number.
- SignPaddingFalse 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 NumberSigns. Padding strings on either side of the number are given by NumberPadding{"sleft","sright"}. Whether those padding strings are placed inside the corresponding signs is given by SignPadding{lbool,rbool}.
Examples
open allclose allScope (2)
Use SignPadding with PaddedForm:
PercentForm by default pads before the – and % signs:
Wolfram Research (1991), SignPadding, Wolfram Language function, https://reference.wolfram.com/language/ref/SignPadding.html (updated 2019).
Text
Wolfram Research (1991), SignPadding, Wolfram Language function, https://reference.wolfram.com/language/ref/SignPadding.html (updated 2019).
CMS
Wolfram Language. 1991. "SignPadding." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/SignPadding.html.
APA
Wolfram Language. (1991). SignPadding. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SignPadding.html