This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Input and Output / Number Formatting  /

  • NumberSeparator is an option for NumberForm and related functions which gives the string to insert at breaks between digits.
  • 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 -> ",".
  • See the Mathematica book: Section 2.8.7.

    Further Examples

    This breaks digits into blocks of length 3.



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



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