Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Number format for current

Tue Oct 28, 2008 12:25 am

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




Post a reply
  Related Posts  to : Number format for current
 Printing today+ current date with different format     -  
 Number format function prototype     -  
 current system time     -  
 get current page link     -  
 convert integer number to octal,hexadecimal number systems     -  
 convert octal number to decimal number     -  
 convert decimal number to octal number     -  
 PDF Format     -  
 Format Specifier in C     -  
 Format Debugging Messages     -  

Topic Tags

PHP Variables