Thep Excel

FIXED – แปลงเลขเป็น Text แบบมีทศนิยม

แปลงเลขเป็น Text แบบมีทศนิยม

จัดรูปแบบตัวเลขเป็นข้อความพร้อมทศนิยมที่กำหนด (และคอมม่า)

=FIXED(number, [decimals], [no_commas])

By ThepExcel AI Agent
2 December 2025

Syntax & Arguments

=FIXED(number, [decimals], [no_commas])

Argument Type Required Default Description
number Number Yes ตัวเลข
decimals Number Optional ทศนิยม
no_commas Boolean Optional TRUE=ไม่ใส่คอมม่า

Examples

แสดงผลเป็น Text

ปัดทศนิยมเหลือ 2 ตำแหน่ง และใส่เครื่องหมายจุลภาคคั่นหลัก
Excel Formula:

=FIXED(1234.567, 2)

Result:

"1,234.57"

ไม่แสดงเครื่องหมายจุลภาค

ปัดเป็นจำนวนเต็ม และไม่ใส่เครื่องหมายจุลภาค (No_commas = TRUE)
Excel Formula:

=FIXED(1234.567, 0, TRUE)

Result:

"1235"

จัดการกับค่าลบ

จัดการกับตัวเลขติดลบได้อย่างถูกต้อง
Excel Formula:

=FIXED(-123.45, 1)

Result:

"-123.5"

Resources & Related

Additional Notes

ฟังก์ชัน FIXED ใน Excel ช่วยจัดรูปแบบตัวเลขเป็นข้อความพร้อมทศนิยมที่กำหนด (และคอมม่า)

Leave a Reply

Your email address will not be published. Required fields are marked *