GlobalObject.parseInt(Object, Object) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Converteert de opgegeven tekenreeks naar Double het equivalent, met behulp van de opgegeven basis.
Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.
public:
static double parseInt(System::Object ^ string, System::Object ^ radix);
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Global_parseInt)]
public static double parseInt(object string, object radix);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Global_parseInt)]
public static double parseInt(object string, object radix);
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Global_parseInt)>]
static member parseInt : obj * obj -> double
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Global_parseInt)>]
static member parseInt : obj * obj -> double
Public Shared Function parseInt (string As Object, radix As Object) As Double
Parameters
- string
- Object
De tekenreeks die moet worden geconverteerd.
- radix
- Object
Een getal tussen 2 en 36 dat de basis vertegenwoordigt van het getalsysteem dat string wordt uitgedrukt in. De standaardwaarde is 10.
Retouren
Een waarde die gelijk is aan de waarde die is opgenomen in string.
- Kenmerken