5.5.1.2.1.1 Banker’s rounding

Banker’s rounding is a midpoint rounding scheme, also known as round-to-even.

During rounding, ambiguity can arise when the original value is at the midpoint between two potential rounded values. Under Banker’s rounding, such ambiguity is resolved by rounding to the nearest rounded value such that the least-significant digit is even.

For example, when using Banker’s rounding to round to the nearest 1, both 73.5 and 74.5 round to 74, while 75.5 and 76.5 round to 76.