You can get rid of the rounding, it would improve the code.