This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

NumberSigns

NumberSigns
is an option for NumberForm and related functions which gives strings to use as signs for negative and positive numbers.
  • NumberSigns specifies that should be given as the sign for negative numbers, and for positive numbers.
  • NumberSigns specifies strings to put both on the left and right of numbers to specify their signs. »
Positive and negative numbers with default number signs:
Add explicit positive signs:
Parentheses are used for negative values in AccountingForm:
Positive and negative numbers with default number signs:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
 
Add explicit positive signs:
In[1]:=
Click for copyable input
Out[1]//NumberForm=
 
Parentheses are used for negative values in AccountingForm:
In[1]:=
Click for copyable input
Out[1]//AccountingForm=
Use any strings as number signs:
Wrap positives with square brackets and negatives with parentheses:
New in 2