Skip to content
RED SAGSkills
easy5 pts · first answer countsjavascriptnumbers

Why 0.1 + 0.2 is not 0.3

A cart total adds ₹0.10 and ₹0.20 using JavaScript numbers. What does the check below print, and why?

console.log(0.1 + 0.2 === 0.3)
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions