Template:Decimals/doc

Examples

 * yields 1200
 * yields 1234
 * yields 1234.0
 * yields 1234.00
 * yields 1.12500
 * yields 0.333333333333 (only the first 12 digits are returned)
 * yields 0.0303030
 * yields 0.0