T
Thom Loring
Can anyone shed some light on a simple math problem I have encountered?
I am doing a very simple calculation, and the comparison of that result
compared to the number itself is returning false in some cases...for
instance:
$irb=> 80.04
=> 80.04
=> false
=> true
=> false
=> "80.04"
=> "80.04"
Any insight?
Thanks,
Thom
I am doing a very simple calculation, and the comparison of that result
compared to the number itself is returning false in some cases...for
instance:
$irb=> 80.04
=> 80.04
=> false
=> true
=> false
=> "80.04"
=> "80.04"
Any insight?
Thanks,
Thom