[]
Specifies the round pattern of the specified number.
public enum RoundPattern
Public Enum RoundPattern
Name | Description |
---|---|
Ceiling | When a number is halfway between two others, it is rounded toward the smallest integer greater than or equal to the specified number. |
Floor | When a number is halfway between two others, it is rounded toward the largest integer less than or equal to the specified number. |
MidpointRoundAwayFromZero | When a number is halfway between two others, it is rounded toward the nearest number that is away from zero. |
MidpointRoundToEven | When a number is halfway between two others, it is rounded toward the nearest even number. |