Q. What if you use parseInt() to convert a string containing decimal value?

  • (A) If returns only the integer portion of the number
  • (B) It returns the decimal values in string form
  • (C) Throws Error
  • (D) None of the listed option
πŸ’¬ Discuss
βœ… Correct Answer: (A) If returns only the integer portion of the number

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
170
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate