ICSE Class 10 Computer Applications Question 14 of 16

Library Classes — Question 14

Back to all questions
14
Question

Question 9(iv)

Distinguish between parseFloat() and parseDouble()

Answer
parseFloat()parseDouble()
parseFloat() method returns a float value represented by the specified string.parseDouble() method returns a double value represented by the specified string.
Get the Bright Tutorials app Stuck on a question? Ask Bright Buddy — your AI tutor — for step-by-step help in the app.