Examveda
Examveda

What is the purpose of the radix parameter in the parseInt() method?

A. Numeral system not to be used

B. Numeral system to be used

C. Convertion mode

D. None of the mentioned

Answer: Option B

Solution(By Examveda Team)

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.

This Question Belongs to Javascript >> Parsing, Benchmarking And Logging

Join The Discussion

Related Questions on Parsing, Benchmarking and Logging