GlobalObject::parseFloat Method (Object^)

 

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

Converts the specified string to its Double equivalent.

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

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Global_parseFloat)]
static double parseFloat(
	Object^ string
)

Parameters

string
Type: System::Object^

The string to convert.

Return Value

Type: System::Double

A value equivalent to the value that is contained in string.

.NET Framework
Available since 1.1
Return to top
Show: