Template:Cents

Revision as of 18:31, 28 October 2018 by Xenwolf (talk | contribs) (Created page with "{{#number_format:{{#expr: 1200*ln({{{1|{{{ratio|2}}}}}})/ln(2)}}|{{{2|{{{precision=3}}}}}}|.|}}<noinclude> This template calculates the cent value of its argument. An optional...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

1200 This template calculates the cent value of its argument. An optional second parameter controls the precision, it defaults to 3 decimal places.

It requires the MediaWiki Extension:NumberFormat being installed.