...

View Full Version : Adding comma to field



jfreak53
10-14-2009, 02:30 PM
I need a simple code that adds commas to money values. In other words if the value is less than a thousand don't add comma but if it's more add comma, if it's a million add comma. I'm not good at all with that logic. Any ideas?

Thanks in advance.

mlseim
10-14-2009, 02:49 PM
http://us3.php.net/manual/en/function.number-format.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum