Template:percent
From Thesaurus Inscriptionum Raeticarum
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 %".