I am getting an unexpected result when using mod '%' in Python.
When I type
print(356%3.56)
I would expect the result to be 0 as 3.56 goes in to 356 exactly 100 times. However when I run the code it returns 3.5599999999999947.
What is the reason for returning this number and not 0?
Thanks in advance