CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Floating-Point Addition

JavaScript code walkthrough · Question 32
hardOperators

Code

Read carefully. What does this print?
1console.log(0.1 + 0.2);
2console.log(0.1 + 0.2 === 0.3);
3console.log((0.1 + 0.2).toFixed(1));

Your answer