this post was submitted on 06 Jul 2025
1026 points (98.6% liked)
Greentext
6653 readers
2059 users here now
This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.
Be warned:
- Anon is often crazy.
- Anon is often depressed.
- Anon frequently shares thoughts that are immature, offensive, or incomprehensible.
If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
We had computer classes where we had to learn about spreadsheets.
To do a number plus ten percent we had to put in A1+A1*10/100
I did A1*1.1 like a normal person.
She then went round to make sure everyone had put it in correctly. Got annoyed at me and changed A1 to something else to expose my folly.
Was visibly annoyed when it showed the right answer.
(I don't think that was your teachers point at all, but) couldn't the different formulas have produced different rounding errors due to floating point percision?
Excel has a 15 point float, a quadrillionth, which should be enough for anything you were using excel for.
yeah because excel does rounding stuff automatically for you
try entering
0.1 + 0.2 - 0.1 - 0.2 == 0.0
in any programming language of your choice and see what happens.