Professional KnowledgeHardIBPS SO IT

In JavaScript, 0.1 + 0.2 === 0.3 evaluates to:

  1. A. true
  2. B. undefined
  3. C. false
  4. D. NaN

Correct answer: C. false

Binary floating point gives 0.30000000000000004.

More IT Officer Professional Knowledge (IBPS SO) questions

Exams that ask this topic