Java.Math.MathContext Members

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

See Also: Inherited members from Java.Lang.Object

Public Constructors

Constructs a new MathContext with the specified precision and with the rounding mode RoundingMode.HalfUp.
Constructs a new MathContext from a string.
Constructs a new MathContext with the specified precision and with the specified rounding mode.

Public Properties

[read-only]
static
Decimal128MathContext. A MathContext which corresponds to the quadruple decimal precision format: 34 digit precision and RoundingMode.HalfEven rounding.
[read-only]
static
Decimal32MathContext. A MathContext which corresponds to the single decimal precision format: 7 digit precision and RoundingMode.HalfEven rounding.
[read-only]
static
Decimal64MathContext. A MathContext which corresponds to the double decimal precision format: 16 digit precision and RoundingMode.HalfEven rounding.
[read-only]
Precisionint. Returns the precision.
[read-only]
RoundingModeRoundingMode. Returns the rounding mode.
[read-only]
static
UnlimitedMathContext. A MathContext for unlimited precision with RoundingMode.HalfUp rounding.

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.