in reply to Wrong calculations in for loop

perlfaq: Why am I getting long decimals (eg, 19.9499999999999) instead of the numbers I should be getting (eg, 19.95)?