Counter shows gibberish when it should show number "0"

Ok, so it looks like there are only two places where we are converting exact numbers to inexact numbers. The first is in conversion from numbers to strings, and the second is in the division operator. Therefore, you can still get some access to the rational numbers but unfortunately you can't really visualize them because the number to string coercion will convert them from their rational representation to the decimal representation. But, you can still do something like this:

blocks (85)

And the latter will return 0 rather than the floating point error of adding and then subtracting something near 0.1 but not actually 0.1.

1 Like