The numbers are showing decimal error in Grasshopper Python

The numbers I fed into the list after printing it is showing an error on decimal places. Is it programmed or am I doing any mistakes? I never noticed it so far. The image is attached along.

Thanks in advance
Vijesh

This is how floating points work on computers.

Some numbers cannot be represented exactly. But if you look at it you’ll see that it is many, many places after the decimal comma. So essentially they are the same.

1 Like