[PHP] Format a currency values

2002-12-09 Thread Adriano Santos
What should I do in order to view a currency format field?
For example: I have a double-type field in my table that receives values in
currenct,
and I want to show the user the following message:

print Your monthly fee is R$50,00 ?

thanks



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Format a currency values

2002-12-09 Thread Ray Hunter
Look at this function in the manual:

number_format()

HTH,

Ray


On Mon, 2002-12-09 at 17:38, Adriano Santos wrote:
 What should I do in order to view a currency format field?
 For example: I have a double-type field in my table that receives values in
 currenct,
 and I want to show the user the following message:
 
 print Your monthly fee is R$50,00 ?
 
 thanks


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php