The first line gives me 0.1 and the second line gives me 0.10000000000000001. Why does this happen? Is rounding a viable solution? Or is there a more precise solution?