NumberSeparator
is an option for NumberForm and related functions that gives the string to insert at breaks between digits.
Details
- 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",…].
Examples
open allclose allBasic Examples (3)
Scope (3)
Use NumberSeparator with PaddedForm:
Specify different separators to the left and right of the number point:
The default number separators and number point:
Switch the role of periods and commas in the representation:
Text
Wolfram Research (1988), NumberSeparator, Wolfram Language function, https://reference.wolfram.com/language/ref/NumberSeparator.html (updated 2014).
CMS
Wolfram Language. 1988. "NumberSeparator." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/NumberSeparator.html.
APA
Wolfram Language. (1988). NumberSeparator. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NumberSeparator.html