ScientificNotationThreshold
NumberFormおよび関連関数のオプションで,実数の表現に使用する小数形式と科学表記の間の閾値を指定する.
例題
すべて開く すべて閉じる例 (2)
NumberForm[1234567.89]NumberForm[1234567.89, ScientificNotationThreshold -> {-5, 9}]NumberForm[-0.0000001234]NumberForm[-0.0000001234, ScientificNotationThreshold -> {-8, 6}]スコープ (2)
ScientificNotationThresholdをNumberFormとともに使う:
p = 0.987654321{10 ^ -8, -10 ^ -4, 1, -10 ^ 4, 10 ^ 8}NumberForm[p, ScientificNotationThreshold -> {-3, 2}]ScientificFormとともに:
ScientificForm[p]ScientificForm[p, ScientificNotationThreshold -> {-6, 7}]DecimalFormとともに:
DecimalForm[p]DecimalForm[p, ScientificNotationThreshold -> {-6, 7}]AccountingFormとともに:
AccountingForm[p]AccountingForm[p, ScientificNotationThreshold -> {-3, 2}]EngineeringFormとともに:
EngineeringForm[p]EngineeringForm[p, ScientificNotationThreshold -> {-6, 5}]PaddedFormとともに:
PaddedForm[p]PaddedForm[p, ScientificNotationThreshold -> {-3, 2}]任意の底 b について,b-5より大きくb6以下の正の実数は小数形式でタイプセットされる:
Options[NumberForm, ScientificNotationThreshold]これらは,2から17までの任意の底 b について,指数6における閾値を示すペア{b6-1,b6}である:
NumberForm[BaseForm[N[{# ^ 6 - 1, # ^ 6}], #], 8]& /@ Range[2, 17]//Column閾値を指数7まで上げると,ベキb6はあらゆる底について小数形式で表示される:
NumberForm[BaseForm[N[{# ^ 6 - 1, # ^ 6}], #], 8, ScientificNotationThreshold -> {-5, 7}]& /@ Range[2, 17]//Column特性と関係 (1)
NumberFormの関連関数は,ScientificNotationThresholdについてさまざまなデフォルトを持つ:
forms = {AccountingForm, DecimalForm, EngineeringForm, NumberForm, PaddedForm, ScientificForm};OptionValue[#, ScientificNotationThreshold]& /@ formsTranspose[{forms, %}]//Dataset関連するガイド
-
▪
- 数の表示
テキスト
Wolfram Research (2017), ScientificNotationThreshold, Wolfram言語関数, 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: 04-November-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: 04-November-2026]}