Tuesday, 25 June 2013

JavaScript parseInt() for type casting

The parseInt() function parses a string and returns an integer.


parseInt(string, radix)

Parameter Description
string Required. The string to be parsed
radix Optional. A number (from 2 to 36) that represents the numeral system to be used  

No comments:

Post a comment