NumberSeparator

NumberSeparator
is an option for NumberForm and related functions which 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->{", ", " "}.

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

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=
New in 1
New to Mathematica? Find your learning path »
Have a question? Ask support »