ScientificNotationThreshold

ScientificNotationThreshold

is an option for NumberForm and related functions that specifies the threshold between the use of decimal notation and scientific notation to represent real numbers.

Details

  • The setting ScientificNotationThreshold{min,max} for integer values min<max indicates that a real number x will be represented in decimal form in base b if bmin|x|<bmax, or in scientific form otherwise.

Examples

open allclose all

Basic Examples  (2)

This number is shown by default in scientific notation:

Increase the upper threshold to 109 to show it still in decimal form:

This number is shown by default in scientific notation:

Decrease the lower threshold to 10-8 to show it still in decimal form:

Scope  (2)

Use ScientificNotationThreshold with NumberForm:

ScientificForm:

DecimalForm:

AccountingForm:

EngineeringForm:

PaddedForm:

For any base b, positive real numbers larger than b-5 and smaller than or equal to b6 are typeset in decimal form:

These are pairs {b6-1,b6} for bases b from 2 to 17, showing the threshold at exponent 6:

Raising the threshold to exponent 7 makes powers b6 be displayed in decimal form, for all bases:

Properties & Relations  (1)

The functions related to NumberForm have different defaults for ScientificNotationThreshold:

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

Text

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

CMS

Wolfram Language. 2017. "ScientificNotationThreshold." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ScientificNotationThreshold.html.

APA

Wolfram Language. (2017). ScientificNotationThreshold. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ScientificNotationThreshold.html

BibTeX

@misc{reference.wolfram_2024_scientificnotationthreshold, author="Wolfram Research", title="{ScientificNotationThreshold}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/ScientificNotationThreshold.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_scientificnotationthreshold, organization={Wolfram Research}, title={ScientificNotationThreshold}, year={2017}, url={https://reference.wolfram.com/language/ref/ScientificNotationThreshold.html}, note=[Accessed: 21-November-2024 ]}