Template:percent

From Thesaurus Inscriptionum Raeticarum
Revision as of 23:01, 15 June 2019 by Martin Braun (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This template serves to calculate and display percentages. It awaits two values: the fraction number and the sum. An optional third value can be given as number of positions after the comma (default is 2).

Examples

  • The code {{percent|5|20}} will display "25.00 %".
  • The code {{percent|5|20|3}} will display "25.000 %".