loading...

What's 0.1 + 0.2 in Javascript?

318097 profile image Mehul Lakhanpal Originally published at codedrops.tech ・1 min read
console.log(0.1 + 0.2 === 0.3); // false

Issues with the floating value stored by JS.


Thanks for reading 💙

Follow @codedrops.tech for daily posts.

InstagramTwitterFacebook

Micro-Learning ● Web Development ● Javascript ● MERN stack ● Javascript

codedrops.tech

Discussion

pic
Editor guide
Collapse
madza profile image
Madza

You can read more here