JavaScript Floating Point Math
Teacher: How much is 1.1 * 3 ? He: 3.3 Teacher: Then why did you write 3.3000000000000003 ? Javascript developer
A teacher asks a student to calculate 1.1 multiplied by 3, and the answer is unexpectedly written as 3.3000000000000003. A cat labeled “Javascript developer” sits beside a woman reading, referencing JavaScript’s notorious floating-point precision issue. The meme is sent as a humorous reaction to confusing or inaccurate decimal arithmetic in programming.
- @dev_meme / 2175 2020-10-18
- Type
- image
- Size
- 502×447 · 40.5 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added