Share via


BigDecimal.RoundDown Field

Definition

Rounding mode to round towards zero.

[Android.Runtime.Register("ROUND_DOWN")]
public const Java.Math.RoundOptions RoundDown = 1;
[<Android.Runtime.Register("ROUND_DOWN")>]
val mutable RoundDown : Java.Math.RoundOptions

Field Value

Value = 1
Attributes

Remarks

Rounding mode to round towards zero. Never increments the digit prior to a discarded fraction (i.e., truncates). Note that this rounding mode never increases the magnitude of the calculated value.

This member is deprecated. Use RoundingMode#DOWN instead.

Java documentation for java.math.BigDecimal.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

See also