Àdàkọ:Order of magnitude
0
Usage
àtúnṣeThis template calculates the (decimal) order of magnitude of numbers within the ranges 10300 to 10−300 and −10−300 to −10300.
The template currently gives 0 for 0. Do not rely on this, however, because this mathematically incorrect result is under review (see talk).
Examples
àtúnṣe{{Order of magnitude|123400}}
→ 5 [1]{{Order of magnitude|12340}}
→ 4 [2]{{Order of magnitude|1234}}
→ 3 [3]{{Order of magnitude|123.4}}
→ 2 [4]{{Order of magnitude|12.34}}
→ 1 [5]{{Order of magnitude|1.234}}
→ 0 [6]{{Order of magnitude|.1234}}
→ -1 [7]{{Order of magnitude|.01234}}
→ -2 [8]{{Order of magnitude|0}}
→ 0 [9]{{Order of magnitude|}}
→ Àsìṣe ìgbékalẹ̀ọ̀rọ̀: àmì-ìṣírò = àìretí [10]{{Order of magnitude}}
gives 0 [11]
The above documentation is transcluded from Àdàkọ:Order of magnitude/doc. (àtúnṣe | ìtàn) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |