FloatToString
Cncjerry
Posts: 64
I have floating point working and was wondering if there is an easier way to set the precision to 2? I was going to multiply by 100, round, take the integer and then divide by 100. This is to get results that look like 100.02; 555.07, etc. I guess I could also just print it out correctly from the string. What would you do?
Jerry
Jerry
Comments