[go: up one dir, main page]

Jump to content

Formula:Precision/tz

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

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

{{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