Template:Significant figures

Revision as of 16:30, 23 February 2018 by Primefac (talk) (Changed protection level for "Template:Significant figures": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#ifeq:0|0

|0
|{{significant figures/{{#if:
  |rnd
  |sum
 }}
 |1={{{1}}}
 |2={{{2}}}
 |3={{safesubst:#ifexpr:{{{1}}}=0
  |{{safesubst:#ifexpr:abs{{{1}}}1=1
     |0
     |{{safesubst:#expr:floor((ln(abs{{{1}}}1)/ln10)+1)}}
   }}
  |{{#expr:floor((ln(abs({{{1}}}) )/ln 10)+1E((abs{{{1}}}>1E100 or abs{{{1}}}<1E-100)-14))}}

}}

}}

}} {{#switch:<translate></translate> | = Lua error: Internal error: The interpreter exited with status 127. | #default=

 Script error: No such module "Template translation".

}}