in reply to Re: How to check if a variable's value is equal to a member of a list of valuesin thread How to check if a variable's value is equal to a member of a list of values
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.
Do you know what value is taken for the hash key?
Hash keys are always strings.
DejaVu Sans Mono
Droid Sans Mono
Envy Code R
Source Code Pro
The default, whatever it is
Results (328 votes). Check out past polls.