Decimal-based floating point numbers have similar problems,
but with different numbers.
For example 1.0/3.0 == 0.3333...
without end.
All floating point schemes have these problems. Since binary has so many other advantages, most computers use it. Electronic calculators sometimes use hardware decimal-based calculations since they always present their results to humans. Also, mainframe computers have hardware decimal-based instructions for use in financial calculations.
Reviewing the following. Click on a subject that interests you to go to where it was discussed.
for
statement.
for
statement.