added rounding for angle value