Edit Boxes Question
I'm writing a program that output some values. Some of them are integers and others are doubles. I'm using the following function for the integer values:
_itoa( number, string, 10 );
If I want to output a double (i.e. double number=2.55) the above function does not put the decimals.
Is there another function for doubles and floats?
use sprintf or better still the windows unicode safe version wsprintf() to format the float as a string..... This works just like printf except instead of sending formatted data to the screen it writes it to an array.