memesearch
JavaScript Floating Point Math

JavaScript Floating Point Math

Download Find similar pictures
Text on the meme
Teacher: How much is 1.1 * 3 ? He: 3.3 Teacher: Then why did you write 3.3000000000000003 ? Javascript developer
What it means

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.

Objects
Tags
Source
Type
image
Size
502×447 · 40.5 KiB
Mood
absurd, sarcastic
Language
en
Added