แสดงผลเป็น Text
=FIXED(1234.567, 2)
"1,234.57"
แปลงเลขเป็น Text แบบมีทศนิยม
จัดรูปแบบตัวเลขเป็นข้อความพร้อมทศนิยมที่กำหนด (และคอมม่า)
=FIXED(number, [decimals], [no_commas])
=FIXED(number, [decimals], [no_commas])
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
| number | Number | Yes | ตัวเลข | |
| decimals | Number | Optional | ทศนิยม | |
| no_commas | Boolean | Optional | TRUE=ไม่ใส่คอมม่า |
=FIXED(1234.567, 2)
"1,234.57"
=FIXED(1234.567, 0, TRUE)
"1235"
=FIXED(-123.45, 1)
"-123.5"
ฟังก์ชัน FIXED ใน Excel ช่วยจัดรูปแบบตัวเลขเป็นข้อความพร้อมทศนิยมที่กำหนด (และคอมม่า)