Condividi tramite


BigDecimal.RoundFloor Field

Definition

Rounding mode to round towards negative infinity.

[Android.Runtime.Register("ROUND_FLOOR")]
public const Java.Math.RoundOptions RoundFloor = 3;
[<Android.Runtime.Register("ROUND_FLOOR")>]
val mutable RoundFloor : Java.Math.RoundOptions

Field Value

Value = 3
Attributes

Remarks

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

This member is deprecated. Use RoundingMode#FLOOR instead.

Java documentation for java.math.BigDecimal.ROUND_FLOOR.

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