View Single Post
Old 09-06-2006, 05:41 AM   #1 (permalink)
jumpmuppet
Registered User
 
Join Date: Sep 2006
Posts: 3
jumpmuppet is on a distinguished road
Money_Format problem?

PHP Code:
////////////turn it into currency/////////////////////
setlocale(LC_MONETARY'en_US');
$price =  money_format('%(#10n'$price) ;    
$pricehigh =  money_format('%(#10n'$pricehigh) ;    
////////////turn it into currency///////////////////// 
I know this was originally designed to run on Linux servers.. just need to change the function MONEY_FORMAT to NUMBER_FORMAT, but not quite sure what else should go with it???

Any takers??

Last edited by redhead; 09-06-2006 at 08:32 AM.
jumpmuppet is offline   Reply With Quote