Share via


MathContext.RoundCeiling Field

Definition

Caution

This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.

Rounding mode to round to a more positive number.

[Android.Runtime.Register("ROUND_CEILING", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.", true)]
public const Android.Icu.Math.RoundOptionsUnused RoundCeiling = 2;
[<Android.Runtime.Register("ROUND_CEILING", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Icu.Math.RoundOptionsUnused enum directly instead of this field.", true)>]
val mutable RoundCeiling : Android.Icu.Math.RoundOptionsUnused

Field Value

Value = 2
Attributes

Remarks

Rounding mode to round to a more positive number. Used as a setting to control the rounding mode used during a BigDecimal operation.

If any of the discarded digits are non-zero then the result should be rounded towards the next more positive digit.

Java documentation for android.icu.math.MathContext.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