MidpointRounding

MidpointRounding enum

Specifies the behavior of rounding functions.

enum class MidpointRounding

Values

NameValueDescription
ToEven0Round to the nearest even number.
AwayFromZero1Round to the nearest number that is away from zero.

See Also