> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.bentoweb.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# วิธีการคำนวณ เลขหลักทศนิยมที่มีจำนวนมาก ในการออกเอกสารใบกำกับภาษี หรือ ใบเสร็จรับเงิน ของระบบ BentoWeb

กรณีตัวเลขของสินค้า  เป็นเลขที่ไม่ลงหลัก และมีการทำส่วนลดเป็น % จะเกิดคำถามว่า ระบบ BentoWeb จะใช้วิธีการคำนวณหลักทศนิยมอย่างไร

|| วิธีการคำนวณ เลขหลักทศนิยมที่มีจำนวนมาก ของ  BentoWeb เราจะคำนวณทศนิยมตัดเหลือ 3 หลัก และปัดขึ้นลงเป็น 2 หลัก

โดยวิธีการปัดขึ้นลง เป็นดังนี้

1. กรณีทศนิยมหลักที่ 3 มีค่าไม่ถึง 5 ปัดทศนิยมหลักที่ 3 ทิ้ง
2. กรณีทศนิยมหลักที่ 3 มีค่าตั้งแต่ 5 ขึ้นไปให้ปัดเศษทศนิยมหลักที่ 2 ขึ้น

เช่น
1.235 เป็น 1.24
1.233 เป็น 1.23