Fixing integer division to float division by adjusting the input values.