Adding fraction to float

1 is an integer, so is 10. 1 / 10 as integers is 0.

Why not just add 0.1?