Yes, so the casting to int works in the way that int(5.6) = 5 and I want something that produced 6 as an output (closest integer), that's the reason that I wrote it like that.