Udostępnij za pośrednictwem


Double.IsFinite(Double) Method

Definition

Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).

[Android.Runtime.Register("isFinite", "(D)Z", "", ApiSince=24)]
public static bool IsFinite (double d);
[<Android.Runtime.Register("isFinite", "(D)Z", "", ApiSince=24)>]
static member IsFinite : double -> bool

Parameters

d
Double

the double value to be tested

Returns

true if the argument is a finite floating-point value, false otherwise.

Attributes

Remarks

Returns true if the argument is a finite floating-point value; returns false otherwise (for NaN and infinity arguments).

Added in 1.8.

Java documentation for java.lang.Double.isFinite(double).

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