...

View Full Version : change 398779.098 to 398,779.098



kamkam
09-11-2009, 11:23 PM
Hi:
If i got a varible $price, the value may be 8765444.098, 8765432189.98, 8766.98, 876543.98, how i can change them to 8,765,444.098, 8,765,432,189.98, 8,766.98, 876,543.98. Please. Thanks

kbluhm
09-11-2009, 11:33 PM
http://www.php.net/number_format

kamkam
09-12-2009, 12:26 AM
Thanks a lot



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum