Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
worksonmine
on Feb 8, 2023
|
parent
|
context
|
favorite
| on:
Why does 0.1 and 0.2 = 0.30000000000000004?
You don't even need to get that specific, even web developers encounter this sooner or later, often as a UI bug in what should be really simple math. Then one day you wonder "what the fuck are all these zeroes? Oooooh..."
That's how I learned about it years ago.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
That's how I learned about it years ago.