GlobalObject::isFinite Method (Double)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether the specified number represents infinity.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Global_isFinite)]
static bool isFinite(
	double number
)

Parameters

number
Type: System::Double

The number to check.

Return Value

Type: System::Boolean

true if number is not NaN, not PositiveInfinity, and not NegativeInfinity; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: