| number_format() | ใช้จัดรูปแบบการแสดงผลข้อมูลตัวเลข |
|---|
function:number_format ( number, after, break, thousand );
return type:string
content:ใช้จัดรูปแบบการแสดงผลข้อมูลตัวเลข
example:$num = 10000.467; echo number_format ( $num, 2, ".", "," );
comment:after คือกำหนดจำนวนตัวเลขหลังจุดทศนิยม break คือกำหนดเครื่องหมายแทนจุดทศนิยม thousand คือกำหนดเครื่องหมายแยกหลักพัน