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)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{precision/tz/1|x{{{1}}}|x{{#expr:{{{1}}}+0}}}}</includeonly><noinclude>{{pp-template}}{{template doc}}</noinclude>
+
<includeonly>{{precision/tz/1|x{{{1}}}|x{{#expr:{{{1}}}+0}}}}</includeonly><noinclude>{{template doc}}</noinclude>

Latest revision as of 18:01, 16 November 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