Logo
DNS: The internet's phone book, but slower.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

0.30000000000000004 Memes

Posts tagged with 0.30000000000000004

Basically Free Money

Javascript Programming Frontend Backend Webdev
4 months ago 361.5K views 0 shares
Basically Free Money
Oh, the absolute JOY of floating-point arithmetic in JavaScript! Nothing screams "professional financial software" quite like receiving 3 dimes and somehow ending up with $0.30000000000000004 because JavaScript's Number type decided to have an existential crisis about decimal representation. It's like asking for exact change and getting handed the mathematical equivalent of "close enough, right?" Binary floating-point numbers can't represent 0.1 precisely, so when you do basic math, you get these delightful microscopic errors that haunt your financial calculations. But hey, that extra 4 quadrillionth of a cent? That's YOUR bonus for trusting JavaScript with money calculations. Stonks! 📈

Today's picks

FNIRSI 2C53T Upgraded Handheld Oscilloscope, 50MHz Bandwidth, 3IN1 Digital Oscilloscope Multimeter DDS Generator, 250MS/s Sampling Rate, 19999 Counts, Voltage, Current, Capacitor, Resistor, Diode Test

FNIRSI 2C53T Upgraded Handheld Oscilloscope, 50MHz Bandwidth, 3IN1 Digital Oscilloscope Multimeter DDS Generator, 250MS/s Sampling Rate, 19999 Counts, Voltage, Current, Capacitor, Resistor, Diode Test

Affiliate
$84.99
GearScouts.com

GearScouts.com

Sponsored
Power stations
pls no more

pls no more

Programming
63.4K views 2 years ago