Difference between revisions of "Template:Precision/tz"

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
(Created page with '<includeonly>{{precision/tz/1|x{{{1}}}|x{{#expr:{{{1}}}+0}}}}</includeonly><noinclude>{{pp-template}}{{template doc}}</noinclude>')
 
m (1 revision)
(No difference)

Revision as of 17:53, 18 January 2010

[edit] [purge] Template documentation

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

Examples

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

ar:قالب:Precision/tz ia:Patrono:Precision/tz ja:Template:Precision/tz hu:Sablon:Precision/tz pl:Szablon:Dokładność/liczbazerpoprzecinku pt:Predefinição:Precision/tz fi:Malline:Tarkkuus/tz vi:Tiêu bản:Precision/tz zh:Template:Precision/tz