parseInt(num,radix)¶
Definition¶
Integer parseInt(String num, Number radix)
Description¶
Converts num of base radix into base 10
Parameter Definition¶
Name | Type | Description |
---|---|---|
num | String | String representation of the number to be convereted to base 10 |
radix | Number | Base of num. Supported bases are 2, 8, 10, 16. |