Partager via


MathContext.RoundDown 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 towards zero.

[Android.Runtime.Register("ROUND_DOWN", 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 RoundDown = 1;
[<Android.Runtime.Register("ROUND_DOWN", 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 RoundDown : Android.Icu.Math.RoundOptionsUnused

Field Value

Value = 1
Attributes

Remarks

Rounding mode to round towards zero. Used as a setting to control the rounding mode used during a BigDecimal operation.

All discarded digits are ignored (truncated). The result is neither incremented nor decremented.

Java documentation for android.icu.math.MathContext.ROUND_DOWN.

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