Fixed rounding to use round() func