Bysen:Precision/tz
This template, {{precision/tz}}, returns the number of trailing zeroes after the decimal point.
Examples
adiht{{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 |
The above documentation is transcluded from Bysen:Precision/tz/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |