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
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
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
the one thing I hated was old calculators that would put 3/3rds as .9999999999. Like...why.
Bad algorithm
Because of the way they work (duh). Here is a video from Computerphile with Tom Scott about floating point numbers
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.
Your calculator cannot display infinitely many decimal places. It rounds off at the last displayed digit.
Ah sorry for the dumb question didn't know that applied to recurring decimals as well