hi everyone,
i have a simple question because i'm a newbie in c programming. i need to format a double to a currency like number : something like 11.00. How can I do this?
also, i'm trying to print a double to the screen but it's not displaying correctly. here is my code:
printf ("sInt = %lf\n", &sInt); //this always display 0.0000000 instead of the correct number.
Thanks a lot