Number format function prototype : Number Format : Development PHP Source Code


PHP Source Code » Development » Number Format »

 

Number format function prototype



<?
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)

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Development
» Number Format