Ya, I agree about the regex, but then again, I was assuming he'd just do it through MySQL Query which would just plop out the preformatted number without an additional function call.
I'm just a str_func hater I guess, mainly because I see people resorting to 3 str funct calls rather than 1 regex call...
or even worse writing an entire string parsing function of 6 plus lines to do what I can do with 1 regex with far more flexibility.