Hello, I hope someone can help. I need a routine to convert a number (a float, in this case) to an edited string. The format conversions available in C are not adequate. I would like to end up with numbers that are comma-differentiated.
Example: -123,456,789.12
The closes I can come to this is to sscanf the floating number into a string, which gives me -123456789.12.
Example: -123,456,789.12
The closes I can come to this is to sscanf the floating number into a string, which gives me -123456789.12.