How does a repeating decimal end?

for example 55/99 is 0.55555555556 on the calculator

why does the 5 stop repeating and end in a 6

Posted Sep 30, 2020, 7:09 PM UTC

18
Brightlinger•

Your calculator cannot display infinitely many decimal places. It rounds off at the last displayed digit.

5
lempharonOP•

Ah sorry for the dumb question didn't know that applied to recurring decimals as well

1
diverstones•

It's rounding up the last digit in the display since it's 5 or larger. If you do 1/3 it'll say 0.33333333333 but 2/3 will display as 0.66666666667

1
ShananayRodriguez•

the one thing I hated was old calculators that would put 3/3rds as .9999999999. Like...why.

2
fermat1432•

Bad algorithm

2
Kwajoch•

Because of the way they work (duh). Here is a video from Computerphile with Tom Scott about floating point numbers

1
newobrain•

because memory is finite so the software handles how to display repeating decimals. my calc gives the bar notation, but most just round off at a specific place.

1