Project

General

Profile

Bug #4394

Updated by StoneBritanney (Britanney Stone) over 4 years ago

=begin 
  
  I stumbled upon the following odd rounding error in Float multiplication while using irb to calculate the tip for the pizza service ;-): 
 
  12.4 * 1.05 yields 13.020000000000001, but should be 13.02 
 
 =end 
 

Back