Template:Number and percent/doc

This template may be used to generate a number and a percentage of total. For the reverse, see percent and number.

Optional parameters
For two-column table output, use table

To show the total with the table option, use yes

To insert a line break before the parenthetical expression, use br

To add a prefix to the numbers, use prefix; for example,

To add a suffix to the number, use suffix; for example,

To pad the result with zeros to achieve the desired precision, use yes.

To specify a number n of significant figures for the percentage, use n.

To specify a percentage suffix (e.g. per cent) other than %, use suffix, e.g. per cent.

To override the scientific notation default for very large and very small numbers, use yes.

To override the default right alignment in table mode, use left or center.

The percent font size may be specified with size, e.g. small, 90%.

Basic examples
&rarr;

&rarr;

&rarr;

&rarr;

&rarr;

&rarr;