Clear Up
SharpKit Reference

JsContextBase.parseInt Method (JsString)

Returns an integer converted from a JsString.

Namespace: SharpKit.JavaScript

Class: JsContextBase

Syntax

protected static JsNumber parseInt(JsString s)

Parameters

s
Type: SharpKit.JavaScript.JsString
A JsString to convert into a number.

Return Value

Type: SharpKit.JavaScript.JsNumber
An integer value equal to the number contained in numString. If no prefix of numString can be successfully parsed into an integer, NaN (not a number) is returned.
© Copyright 2005-2011 SharpKit. All rights reserved.