round value from sensor