 |
|
Code (PHP)
<?php
$number = 1234.56;
// english notation (default)
$english_format_number = number_format($number);
// 1,235
// French notation
$nombre_format_francais = number_format($number, 2, ',', ' ');
// 1 234,56
$number = 1234.5678;
// english notation without thousands separator
$english_format_number = number_format($number, 2, '.', '');
// 1234.57
?>
(PHP 4, PHP 5) // มันก็น่าจะได้ครับ ว่าแต่เจ้าตัว $a[$b] มันมีค่าเป็นอะไรครับ ถึง error
|
 |
 |
 |
 |
Date :
2012-12-03 17:18:37 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |