Megosztás a következőn keresztül:


BigDecimal.RoundUnnecessary Field

Definition

Rounding mode to assert that the requested operation has an exact result, hence no rounding is necessary.

[Android.Runtime.Register("ROUND_UNNECESSARY")]
public const Java.Math.RoundOptions RoundUnnecessary = 7;
[<Android.Runtime.Register("ROUND_UNNECESSARY")>]
val mutable RoundUnnecessary : Java.Math.RoundOptions

Field Value

Value = 7
Attributes

Remarks

Rounding mode to assert that the requested operation has an exact result, hence no rounding is necessary. If this rounding mode is specified on an operation that yields an inexact result, an ArithmeticException is thrown.

This member is deprecated. Use RoundingMode#UNNECESSARY instead.

Java documentation for java.math.BigDecimal.ROUND_UNNECESSARY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also