Template:Decimals/doc

The Decimals template is used to format a number, up to 5 decimals.

Usage
number

Note: The maximum number for decimals is limited to 5, but this value can be increased if required.

Examples

 * 1234 yields
 * 1234 yields
 * 1234 yields
 * 1234 yields
 * 9/8 yields
 * 1/3 yields (only the first 5 digits are returned)
 * 22/7 yields (only the first 5 digits are returned)
 * 1/33 yields
 * 0.006 yields