Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF