NumberMarks

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 machineprecision and arbitraryprecision ones.
  • NumberMarks->Automatic indicates that ` should be used in arbitraryprecision but not machineprecision 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:

The same number with number marks:

Extended-precision numbers include number marks by default:

Without number marks:

Wolfram Research (1996), NumberMarks, Wolfram Language function, https://reference.wolfram.com/language/ref/NumberMarks.html.

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_2024_numbermarks, author="Wolfram Research", title="{NumberMarks}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/NumberMarks.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_numbermarks, organization={Wolfram Research}, title={NumberMarks}, year={1996}, url={https://reference.wolfram.com/language/ref/NumberMarks.html}, note=[Accessed: 21-December-2024 ]}