'Declaration Public Enum DB2RoundingMode Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum DB2RoundingMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration Public Enum DB2RoundingMode Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
public enum DB2RoundingMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Ceiling | Round toward positive infinity. If all of the discarded digits are zero or if the sign is negative, the result is unchanged. Otherwise, the result coefficient should be incremented by 1 (rounded up). |
Down | Round toward 0 (truncation). The discarded digits are ignored. |
Floor | Round toward negative infinity. If all of the discarded digits are zero or if the sign is positive, the result is unchanged. Otherwise, the sign is negative and the result coefficient should be incremented by 1 (rounded up). |
HalfEven | Round to nearest; if equidistant, round down. If the discarded digits represent greater than half (0.5) of the value of a one in the next left position, then the result coefficient should be incremented by 1 (rounded up). Otherwise (if the discarded digits are 0.5 or less), the discarded digits are ignored. |
HalfUp | Round to nearest; if equidistant, round up. If the discarded digits represent greater than or equal to half (0.5) of the value of a one in the next left position then the result coefficient should be incremented by 1 (rounded up). Otherwise, the discarded digits are ignored. |
System.Object
System.ValueType
System.Enum
Devart.Data.DB2.DB2Types.DB2RoundingMode