Template:Significant figures

From ICRPaedia
Revision as of 19:18, 12 January 2018 by icrpaedia>Kelsey (36 revisions: Col-break)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#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))}}

}}

}}

}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}