Wednesday, 23 September 2015

how to use number_format in php

1
2
3
4
5
6
7
8
<?php
$Price = 8945.234564;
$Price = number_format($UsedPrintPrice, 2);
print $Price;
?>
 
//: Output
8945.23

No comments:

Post a Comment