whole_number 0.1.1
Float and Integer will be converted to whole number, that is 0,1,2,3,4... , when you give a negative num, it will be 0. Also when you give 1.1 => 1 by Float#to_i
Float and Integer will be converted to whole number, that is 0,1,2,3,4... , when you give a negative num, it will be 0. Also when you give 1.1 => 1 by Float#to_i