July 28th, 1999, 04:01 AM
I have this code:
float myFloat = 100.520920
CString myString;
myString.Format("%f",myFloat);
I want the string to display 100.52 (limit to two decimal places)
how can I do this?
float myFloat = 100.520920
CString myString;
myString.Format("%f",myFloat);
I want the string to display 100.52 (limit to two decimal places)
how can I do this?