Condividi tramite


BigDecimal.Signum Method

Definition

Returns the signum function of this BigDecimal.

[Android.Runtime.Register("signum", "()I", "GetSignumHandler")]
public virtual int Signum ();
[<Android.Runtime.Register("signum", "()I", "GetSignumHandler")>]
abstract member Signum : unit -> int
override this.Signum : unit -> int

Returns

-1, 0, or 1 as the value of this BigDecimal is negative, zero, or positive.

Attributes

Remarks

Returns the signum function of this BigDecimal.

Java documentation for java.math.BigDecimal.signum().

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