This is an interesting point. Do you know what value is taken for the hash key? The string representation or the floating point binary representation?
When the first is true than what you said falls in the whole class of floating point related problems, e.g. equality of floats.
McA
In reply to Re^3: How to check if a variable's value is equal to a member of a list of values
by McA
in thread How to check if a variable's value is equal to a member of a list of values
by cls33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |