gives the default value for the option NumberMarks, which specifies whether ` marks should be included in the input form representations of approximate numbers.
$NumberMarks
gives the default value for the option NumberMarks, which specifies whether ` marks should be included in the input form representations of approximate numbers.
Details
- The default setting for $NumberMarks is Automatic.
- $NumberMarks=True indicates that ` should by default be used in all approximate numbers, both machine‐precision and arbitrary‐precision ones.
- $NumberMarks=Automatic indicates that ` should by default be used in arbitrary‐precision but not machine‐precision numbers.
- $NumberMarks=False indicates that ` should by default never be used in outputting numbers.
Examples
Basic Examples (2)
The default value of $NumberMarks is Automatic:
$NumberMarksMachinePrecision numbers are shown without a number mark:
InputForm[N[Pi]]Arbitrary-precision numbers are shown with a mark and the precision:
InputForm[N[Pi, 20]]Temporarily force machine numbers to be shown with number marks:
Block[{$NumberMarks = True}, ToString[N[Pi], InputForm]]See Also
Tech Notes
Related Guides
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), $NumberMarks, Wolfram Language function, https://reference.wolfram.com/language/ref/$NumberMarks.html.
CMS
Wolfram Language. 1996. "$NumberMarks." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$NumberMarks.html.
APA
Wolfram Language. (1996). $NumberMarks. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$NumberMarks.html
BibTeX
@misc{reference.wolfram_2026_$numbermarks, author="Wolfram Research", title="{$NumberMarks}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/$NumberMarks.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_$numbermarks, organization={Wolfram Research}, title={$NumberMarks}, year={1996}, url={https://reference.wolfram.com/language/ref/$NumberMarks.html}, note=[Accessed: 13-June-2026]}