BigDecimal.RoundCeiling Field

Definition

Rounding mode to round towards positive infinity.

[Android.Runtime.Register("ROUND_CEILING")]
public const Java.Math.RoundOptions RoundCeiling = 2;
[<Android.Runtime.Register("ROUND_CEILING")>]
val mutable RoundCeiling : Java.Math.RoundOptions

Field Value

Value = 2
Attributes

Remarks

Rounding mode to round towards positive infinity. If the BigDecimal is positive, behaves as for ROUND_UP; if negative, behaves as for ROUND_DOWN. Note that this rounding mode never decreases the calculated value.

This member is deprecated. Use RoundingMode#CEILING instead.

Java documentation for java.math.BigDecimal.ROUND_CEILING.

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