double to char*
-
Faq habe ich schon geschaut, aber leider nicht viel gefunden.
Wer kann mir weiterhelfen?
THX!
-
double dVal=576.87587;
CString Str;
Str.Format("%f",dVal);ohne cstring so ziemlich dasselbe mit sprintf
ausserdem
f The precision value specifies the number of digits after the decimal point. If a decimal point appears, at least one digit appears before it. The value is rounded to the appropriate number of digits. Default precision is 6; if precision is 0, or if the period (.) appears without a number following it, no decimal point is printed.
soll heissen
%f.10 = 10 nachkommastellen
-
THX!!
Is ganz klar!!!
Hab selber noch hinbekommen gehabt, war da grad wohl ein bisschen arg verpeilt!Also trotzdem danke nochmal
