다음을 통해 공유


Rational.IsFinite Property

Definition

Indicates whether this rational represents a finite value.

public bool IsFinite { [Android.Runtime.Register("isFinite", "()Z", "")] get; }
[<get: Android.Runtime.Register("isFinite", "()Z", "")>]
member this.IsFinite : bool

Property Value

true if this rational is a (positive or negative) infinite value; false if this is a finite number value (or NaN)

Attributes

Remarks

Indicates whether this rational represents a finite value.

A finite value occurs when the denominator is not 0; in other words the rational is neither infinity or NaN.

Java documentation for android.util.Rational.isFinite().

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