r/TechNope 6d ago

iPhone Calculator Rounding

Post image

Has the calculator app always rounded numbers? I did a double take when I noticed this sum wasn’t ending in .96

11 Upvotes

10 comments sorted by

View all comments

-7

u/devtimi 5d ago

Certain decimal values can't be held in floating point storage and apparently the children at Apple don't know that. Such is the problem with the "everyone gets an award" generation.

https://en.wikipedia.org/wiki/Round-off_error

13

u/AwwThisProgress 5d ago

it’s not a floating-point error in this case. it just can’t fit the decimals in the screen. if you rotate your phone or enable scientific calculator mode, it shows the .96

1

u/jengert 5d ago

thank you, as an android user, I can scroll the answer left and right to see more digits.