use round_to_nearest_ties_to_even to implement round