Template:Ordomag
From FEInfobase
(Difference between revisions)
m (1 revision(s)) |
(Updating per User:Jimp to fix an error.) |
||
Line 1: | Line 1: | ||
{{ordomag/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}}<noinclude> | {{ordomag/x|{{{1}}}|{{#expr:floor(ln(abs({{{1}}}))/ln10)}}}}<noinclude> | ||
+ | {{pp-template|small=yes}} | ||
+ | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 07:54, 4 July 2008
Expression error: Unexpected < operator
This template calculates the (decimal) order of magnitude of numbers within the ranges 10300 to 10−300 and −10−300 to −10300.
- Note
- This template will currently underflow on zero, causing an error message to be returned instead of the value 0 (zero).da:Skabelon:Ordomag