Mathematica 9 is now available

NumberSeparator

Usage

NumberSeparatorNumberForm 及其相关函数的可选项,用来给出数字之间的空格位置要插入的字符串.


Notes

NumberSeparator -> "s"指定字符串 s 应被插入由DigitBlock指定的数位之间每个空格位置.
NumberSeparator ->  "sleft", "sright" 指明将在小数点左右两边使用不同的字符串.
• 缺省设置为NumberSeparator -> ",".
• 参见Mathematica 全书: 2.8.7节.
Further Examples

This breaks digits into blocks of length 3.

In[1]:=  

Out[1]//NumberForm=

You can specify any string to use as a separator between blocks of digits.

In[2]:=  

Out[2]//NumberForm=

This gives an explicit plus sign for positive numbers, and uses | in place of a decimal point.

In[3]:=  

Out[3]//NumberForm=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.