GlobalObject::parseInt Method (Object^, 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, using the specified base.

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

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Global_parseInt)]
static double parseInt(
	Object^ string,
	Object^ radix
)

Parameters

string
Type: System::Object^

The string to convert.

radix
Type: System::Object^

A number between 2 and 36 that represents the base of the number system that string is expressed in. The default is 10.

Return Value

Type: System::Double

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

.NET Framework
Available since 1.1
Return to top
Show: