Java.Math.RoundingMode Members

The members of Java.Math.RoundingMode are listed below.

See Also: Inherited members from Java.Lang.Enum

Public Properties

[read-only]
static
CeilingRoundingMode. Rounding mode to round towards positive infinity.
[read-only]
static
DownRoundingMode. Rounding mode where the values are rounded towards zero.
[read-only]
static
FloorRoundingMode. Rounding mode to round towards negative infinity.
[read-only]
static
HalfDownRoundingMode. Rounding mode where values are rounded towards the nearest neighbor.
[read-only]
static
HalfEvenRoundingMode. Rounding mode where values are rounded towards the nearest neighbor.
[read-only]
static
HalfUpRoundingMode. Rounding mode where values are rounded towards the nearest neighbor.
[read-only]
static
UnnecessaryRoundingMode. Rounding mode where the rounding operations throws an ArithmeticException for the case that rounding is necessary, i.e. for the case that the value cannot be represented exactly.
[read-only]
static
UpRoundingMode. Rounding mode where positive values are rounded towards positive infinity and negative values towards negative infinity.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
ValueOf(RoundOptions) : RoundingMode
Converts rounding mode constants from class BigDecimal into RoundingMode values.
static
ValueOf(string) : RoundingMode
static
Values() : RoundingMode[]