Icon documentationis Documentatio formulae[inspice] [recense] [historiam ostende] [purga]

This template, {{precision/tz}}, returns the number of trailing zeroes after the decimal point.

Examples Recensere

{{precision/tz|123}} → 0 {{precision/tz|123.}} → 0 {{precision/tz|123.0}} → 1 {{precision/tz|123.4}} → 0 {{precision/tz|123.40}} → 1 {{precision/tz|123.000}} → 3 {{precision/tz|123.4000}} → 3 {{precision/tz|100}} → 0

{{precision/tz|100.}} → 0