gerkintrigg Posted April 11, 2006 Share Posted April 11, 2006 Hi everyone. I was wondering if there was some kind of stock command or stock script out there in cyber land that would allow me to break apart an SQL result string to add commas into a number.For example:instead of 123456789.00it'd be: 123,456,789.00I'd just like to make the (price) results look a little nicer for my site visitors. I've been playing with the explode & implode functions but they seem to be rather flakey. Probably just my syntax, but any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted April 11, 2006 Share Posted April 11, 2006 [a href=\"http://uk.php.net/manual/hk/function.number-format.php\" target=\"_blank\"]number format[/a] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.