Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

NumberSeparator

NumberSeparator
is an option for NumberForm and related functions that gives the string to insert at breaks between digits.

DetailsDetails

  • NumberSeparator->"s" specifies that the string s should be inserted at every break between digits specified by DigitBlock.
  • NumberSeparator->{"sleft","sright"} specifies different strings to be used on the left and right of the decimal point.
  • The default setting is NumberSeparator->{","," "}.
  • NumberSeparator can also be used to specify the strings to assume for breaks between digits with Interpreter["Number",].

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

The default separator is a comma (,):

In[1]:=
Click for copyable input
Out[1]//NumberForm=

Use spaces instead:

In[1]:=
Click for copyable input
Out[1]//NumberForm=

Interpret numbers with a custom separator:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1988
(1.0)
| Updated in 2014
(10.0)