แม่แบบ:Rounded calculation/doc
![]() | นี่คือหน้าคู่มือการใช้งานของ แม่แบบ:Rounded calculation ใช้ในการเขียนคำอธิบายแม่แบบหรือมอดูลและใส่หมวดหมู่ ส่วนลิงก์ข้ามภาษาโปรดใช้วิกิสนเทศ |
แม่แบบนี้ใช้สำหรับคำนวณแล้วปัดเศษผลลัพธ์
การใช้งาน
แก้{{rounded calculation|<calculation>|<decimal places>}}
- หรือ:
{{rndcalc|<calculation>|<decimal places>}}
ตัวอย่าง
แก้{{rounded calculation|900/5,679|5}}
: 0.15848{{rounded calculation|2/3 * 4^2|1}}
: 10.7{{rndcalc|2/3|0}}
: 1{{rounded calculation|12345|-2}}
: 12,300
ดูเพิ่ม
แก้- {{round}}
- {{significant figures}}