NumberSeparator
Usage
• NumberSeparator是NumberForm 及其相关函数的可选项,用来给出数字之间的空格位置要插入的字符串.
Notes
• NumberSeparator -> "s"指定字符串 s 应被插入由DigitBlock指定的数位之间每个空格位置. • NumberSeparator -> "sleft", "sright" 指明将在小数点左右两边使用不同的字符串. • 缺省设置为NumberSeparator -> ",".
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=
|
|