قالب:Precision1
اذهب إلى التنقل
اذهب إلى البحث
توثيق القالب[عرض] [عدّل] [تاريخ] [محو الاختزان] [استخدامات]

{{precision1}} is very similar to {{precision}}, but the output range is only 0 to 6. Thus the functinality of {{precision1}} is a subset of the functionality of {{precision}}, but the advantage is that the template code is much shorter. It is useful when one has to be cautious of template pre-expand limits.
Examples
{{Precision1|111.12345678}} |
6 |
{{Precision1|111.1234567}} |
6 |
{{Precision1|111.123456}} |
6 |
{{Precision1|111.12345}} |
5 |
{{Precision1|111.1234}} |
4 |
{{Precision1|111.123}} |
3 |
{{Precision1|111.12}} |
2 |
{{Precision1|111.1}} |
1 |
{{Precision1|111}} |
0 |
{{Precision1|110}} |
0 |
{{Precision1|100}} |
0 |
{{Precision1|111.10}} |
2 |
{{Precision1|111.100}} |
3 |
{{Precision1|111.1000}} |
4 |
التوثيق في الأعلى مضمن من قالب:Precision1/شرح. (عدّل | تاريخ) يمكن للمحررين تجريب تعديلاتهم على القالب في صفحات ملعب (أنشئ | مرآة) ومختبر (أنشئ). من فضلك أضف التصنيفات في الصفحة الفرعية للقالب /شرح. الصفحات الفرعية لـ قالب. |