Partager via


BigDecimal.RoundUp Field

Definition

Rounding mode to round away from zero.

[Android.Runtime.Register("ROUND_UP")]
public const Java.Math.RoundOptions RoundUp = 0;
[<Android.Runtime.Register("ROUND_UP")>]
val mutable RoundUp : Java.Math.RoundOptions

Field Value

Value = 0
Attributes

Remarks

Rounding mode to round away from zero. Always increments the digit prior to a nonzero discarded fraction. Note that this rounding mode never decreases the magnitude of the calculated value.

This member is deprecated. Use RoundingMode#UP instead.

Java documentation for java.math.BigDecimal.ROUND_UP.

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