Home | Mailing List | Blog | Tutorial Videos

Floating-Point Precision

Consider the following scenario. What gets logged?

const a = 0.1
const b = 0.2
const c = 0.3

console.log(a + b === c)

Select one: