Number format for current : Number Format « Development « PHP






Number format for current


<?php
     $shoe_price = 86749.9500001;
     print($shoe_price . "\n");
     print("\$" . number_format($shoe_price, "2", ".", "") . "\n");
?>
           
       








Related examples in the same category

1.Number format function prototype
2.Number with dot