?
What is the purpose of the radix parameter in the parseInt() method?
Answer & Solution
Correct Answer:
Option
B
The radix parameter is used to specify which numeral system to be used, for example, a radix of 16 (hexadecimal) indicates that the number in the string should be parsed from a hexadecimal number to a decimal number.
Join the Discussion
Login to post a comment or share your explanation.
Login