Jump to content

Template:Precision/a

From The Austrian Economics Wiki, the global repository of classical-liberal thought
Revision as of 11:15, 6 May 2011 by John James (talk | contribs) (Created page with "<includeonly>{{#if:{{{2|}}}|{{#expr:(ln{{{2}}})/ln10}}|{{#expr:{{precision/{{#expr:3*{{{1}}}>{{{1}}}0}}|{{{1}}}}}}}}}</includeonly><noinclude>{{template doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

The subtemplate is called by {{precision}} (the main template page). This main page will have determined whether the input is in the form of a fraction or decimal/integer.

  • For fractional input it returns the base ten logarithm of the numerator.
  • Other wise it determines whether the input is a decimal or integer and calls either {{precision/1}} or {{precision/0}} accordingly.

See also