قالب:Precision/tz
المظهر
This template, {{precision/tz}}, returns the number of trailing zeroes after the decimal point.
Examples
{{Precision|123}} |
0 |
{{Precision|123.}} |
1 |
{{Precision|123.0}} |
1 |
{{Precision|123.4}} |
1 |
{{Precision|123.40}} |
2 |
{{Precision|123.000}} |
3 |
{{Precision|123.4000}} |
4 |
{{Precision|100}} |
-2 |
{{Precision|100.}} |
1 |