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.
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.
Examples
open all close allBasic Examples (2)
This number is shown by default in scientific notation:
NumberForm[1234567.89]Increase the upper threshold to 109 to show it still in decimal form:
NumberForm[1234567.89, ScientificNotationThreshold -> {-5, 9}]This number is shown by default in scientific notation:
NumberForm[-0.0000001234]Decrease the lower threshold to 10-8 to show it still in decimal form:
NumberForm[-0.0000001234, ScientificNotationThreshold -> {-8, 6}]Scope (2)
Use ScientificNotationThreshold with NumberForm:
p = 0.987654321{10 ^ -8, -10 ^ -4, 1, -10 ^ 4, 10 ^ 8}NumberForm[p, ScientificNotationThreshold -> {-3, 2}]ScientificForm[p]ScientificForm[p, ScientificNotationThreshold -> {-6, 7}]DecimalForm[p]DecimalForm[p, ScientificNotationThreshold -> {-6, 7}]AccountingForm[p]AccountingForm[p, ScientificNotationThreshold -> {-3, 2}]EngineeringForm[p]EngineeringForm[p, ScientificNotationThreshold -> {-6, 5}]PaddedForm[p]PaddedForm[p, ScientificNotationThreshold -> {-3, 2}]For any base b, positive real numbers larger than b-5 and smaller than or equal to b6 are typeset in decimal form:
Options[NumberForm, ScientificNotationThreshold]These are pairs {b6-1,b6} for bases b from 2 to 17, showing the threshold at exponent 6:
NumberForm[BaseForm[N[{# ^ 6 - 1, # ^ 6}], #], 8]& /@ Range[2, 17]//ColumnRaising the threshold to exponent 7 makes powers b6 be displayed in decimal form, for all bases:
NumberForm[BaseForm[N[{# ^ 6 - 1, # ^ 6}], #], 8, ScientificNotationThreshold -> {-5, 7}]& /@ Range[2, 17]//ColumnProperties & Relations (1)
The functions related to NumberForm have different defaults for ScientificNotationThreshold:
forms = {AccountingForm, DecimalForm, EngineeringForm, NumberForm, PaddedForm, ScientificForm};OptionValue[#, ScientificNotationThreshold]& /@ formsTranspose[{forms, %}]//DatasetRelated Guides
History
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_2026_scientificnotationthreshold, author="Wolfram Research", title="{ScientificNotationThreshold}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/ScientificNotationThreshold.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_scientificnotationthreshold, organization={Wolfram Research}, title={ScientificNotationThreshold}, year={2017}, url={https://reference.wolfram.com/language/ref/ScientificNotationThreshold.html}, note=[Accessed: 13-June-2026]}