Contents

NSDecimalNumber.RoundingMode.bankers

Round to the closest possible return value; when halfway between two possibilities, return the possibility whose last digit is even.

Declaration

case bankers

Discussion

In practice, this means that, over the long run, numbers will be rounded up as often as they are rounded down; there will be no systematic bias.

See Also

Constants