0

I wonder why following not work as i expect:

let testSum = 0.1 + 0.2
let testBool = testSum == 0.3

testBool in that case is false, how could that be possible?

Evgeniy Kleban
  • 6,794
  • 13
  • 54
  • 107

0 Answers0