string manipulation and float math problems

PaulS:

which is wrong.....it should be 6.0000

No. You are performing floating point arithmetic. The 5.9998 value is perfectly reasonable.

Print out f to 6 decimal places, after you divide it by 100.0, to see that.

Ahh.....74.059997. So is there some fix or is this just something we all accept if we insist on working with floating points (and are too lazy to learn fixed point math)?