Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Definition
Specifies rounding direction when there is a tie between the possible numbers to round to.
Allowed values
Name | Value | Description |
---|---|---|
RoundingMode.Up | 0 | Round up when there is a tie between the possible numbers to round to. |
RoundingMode.Down | 1 | Round down when there is a tie between the possible numbers to round to. |
RoundingMode.AwayFromZero | 2 | Round away from zero when there is a tie between the possible numbers to round to. |
RoundingMode.TowardZero | 3 | Round toward zero when there is a tie between the possible numbers to round to. |
RoundingMode.ToEven | 4 | Round to the nearest even number when there is a tie between the possible numbers to round to. |