so why does the following not work? each time through here, it is not known beforehand if the number is 8.5 or 55.8. so in text out, setting the digits to 3 or to 4 does not cover all cases. so how should i change the following?
ss << std::fixed << std::setprecision(1) << winpercent[z]*100.0;
s=ss.str();
dc.TextOut(x,y,s.c_str(),4);