Need function to convert float/double/long to string using a specified format
Hi,
I am looking for C routines that can convert a float, double, or long
to a string using a conversion specification at a higher level then
sprintf. For example if the number is 1000000 and I want it to be
formatted as "1,000,000" the I would call the function as
function_name(double number, "###,###,###", char *string, int
stringsize); This is standard in many higher level languages, but I
have yet to find a library that can do this in C (besides libraries
that come with database packages, like informix).
Sent via Deja.com http://www.*-*-*.com/
Before you buy.