sprintf and thousands separators
I have looked all over the place and have yet to find an answer to this question: I am using sprintf and am trying to print out numbers formatted with comma separators. I have tried:
- setlocale
- putting a tick (%'.02f) into the format string
Am I missing something? Also, I can't use the number_format function.
Thanks in advance.
|