ਫਰਮਾ:Precision/tz: ਰੀਵਿਜ਼ਨਾਂ ਵਿਚ ਫ਼ਰਕ
ਸਮੱਗਰੀ ਮਿਟਾਈ ਸਮੱਗਰੀ ਜੋੜੀ
<includeonly>{{precision/tz/1|x{{{1}}}|x{{#expr:{{{1}}}+0}}}}</includeonly><noinclude>{{pp-template}}{{template doc}}</noinclude> ਨਾਲ ਪੇਜ ਬਣਾਇਆ |
(ਕੋਈ ਫ਼ਰਕ ਨਹੀਂ)
|
16:49, 26 ਜੁਲਾਈ 2010 ਦਾ ਦੁਹਰਾਅ
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 |