is an option for InputForm and related functions that specifies whether ` marks should be included in the printed forms of approximate numbers.
NumberMarks
is an option for InputForm and related functions that specifies whether ` marks should be included in the printed forms of approximate numbers.
Details
- The default setting for NumberMarks is given by the value of $NumberMarks.
- NumberMarks->True indicates that ` should be used in all approximate numbers, both machine‐precision and arbitrary‐precision ones.
- NumberMarks->Automatic indicates that ` should be used in arbitrary‐precision but not machine‐precision numbers.
- NumberMarks->False indicates that ` should never be used in outputting numbers.
- Number marks are used to indicate the type of numbers, and their precision or accuracy.
- The *^ form for scientific notation is always used in InputForm, and is independent of NumberMarks.
Examples
Basic Examples (2)
Machine numbers format without number marks by default:
InputForm[N[1 / 3]]The same number with number marks:
InputForm[N[1 / 3], NumberMarks -> True]Extended-precision numbers include number marks by default:
InputForm[N[10 / 3, 20]]InputForm[N[10 / 3, 20], NumberMarks -> False]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: 12-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: 12-June-2026]}