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

Number format function prototype

Tue Oct 28, 2008 12:24 am

Code:

<?
string number_format
(float number, int decimals, string dec_point, string
    thousands_sep
)

?>

Argument Description

number Number to be formatted

decimals Precision: number of decimal places

dec_point String used for the decimal point (in North America, usually a period)

thousands_sep String to separate groups of thousands (in North America, usually a comma)



Post a reply
  Related Posts  to : Number format function prototype
 Number format for current     -  
 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     -  
 Handling m3g format (3D files for mobiles) in J2ME     -  
 Printing today+ current date with different format     -  
 i want to draw a circle on a image(any format bmp,jpeg etc.)     -  

Topic Tags

PHP Functions