I’m trying to solve a code question, but the decimal value given as a string always returns as an int. Why?
parseFloat("4.0")
this code return 4
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I’m trying to solve a code question, but the decimal value given as a string always returns as an int. Why?
parseFloat("4.0")
this code return 4