πŸ“Š JavaScript
Q. 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
πŸ’¬ Discuss
βœ… Correct Answer: (B) Numeral system to be used

Explanation: 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.

Explanation by: Mr. Dubey
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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
122
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate