Enum sap.ui.core.format.NumberFormat.RoundingModeModule: sap/ui/core/format/NumberFormat
Specifies a rounding behavior for numerical operations capable of discarding precision. Each rounding mode in this object indicates how the least significant returned digits of rounded result is to be calculated.
Field Summary
sap.ui.core.format.NumberFormat.RoundingMode.AWAY_FROM_ZERORounding mode to round away from zero
sap.ui.core.format.NumberFormat.RoundingMode.CEILINGRounding mode to round towards positive infinity
sap.ui.core.format.NumberFormat.RoundingMode.FLOORRounding mode to round towards negative infinity
sap.ui.core.format.NumberFormat.RoundingMode.HALF_AWAY_FROM_ZERORounding mode to round towards the nearest neighbor unless both neighbors are equidistant, in which case round away from zero.
sap.ui.core.format.NumberFormat.RoundingMode.HALF_CEILINGRounding mode to round towards the nearest neighbor unless both neighbors are equidistant, in which case round towards positive infinity.
sap.ui.core.format.NumberFormat.RoundingMode.HALF_FLOORRounding mode to round towards the nearest neighbor unless both neighbors are equidistant, in which case round towards negative infinity.
sap.ui.core.format.NumberFormat.RoundingMode.HALF_TOWARDS_ZERORounding mode to round towards the nearest neighbor unless both neighbors are equidistant, in which case round towards zero.
sap.ui.core.format.NumberFormat.RoundingMode.TOWARDS_ZERORounding mode to round towards zero
Field Detail
sap.ui.core.format.NumberFormat.RoundingMode.AWAY_FROM_ZERO: string
Rounding mode to round away from zero
sap.ui.core.format.NumberFormat.RoundingMode.CEILING: string
Rounding mode to round towards positive infinity
sap.ui.core.format.NumberFormat.RoundingMode.FLOOR: string
Rounding mode to round towards negative infinity
sap.ui.core.format.NumberFormat.RoundingMode.HALF_AWAY_FROM_ZERO: string
Rounding mode to round towards the nearest neighbor unless both neighbors are equidistant, in which case round away from zero.
sap.ui.core.format.NumberFormat.RoundingMode.HALF_CEILING: string
Rounding mode to round towards the nearest neighbor unless both neighbors are equidistant, in which case round towards positive infinity.
sap.ui.core.format.NumberFormat.RoundingMode.HALF_FLOOR: string
Rounding mode to round towards the nearest neighbor unless both neighbors are equidistant, in which case round towards negative infinity.