Difference between revisions of "Template:Precision/tz"
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{precision/tz/1|x{{{1}}}|x{{#expr:{{{1}}}+0}}}}</includeonly><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] [ ] 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
The above documentation is transcluded from Template:Precision/tz/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |