quick fix | April 2nd, 2009
Formatting money / currency using PHP
// Our original decimal number
$number = 21357.44;
// Let’s use PHP’s built-in function to format the number into US currency
$formatted = number_format($number, 2);
// The following statement will print 21,357.44
echo “\$” . $formatted;
?>
cheap viagra online
Jul 31st, 2020Amazing article, lots of intersting things to digest. Very informative
Piercing
Aug 2nd, 2020Andy, a very interesting post thanks for writing it!
babafisa
Aug 3rd, 2020i loved the article added to my favourites
ultrasurf
Aug 3rd, 2020Very enjoyed this! Well done!