Template:Precision/tz/doc
< Template:Precision | tz
Jump to navigation
Jump to search
This is a documentation subpage for Template:Precision/tz. It may contain usage information, categories and other content that is not part of the original template page. |
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 |