I don't really need to use a decimal here. And even if I choose to use a variable with a decimal (as in the example), it's really not hard to work around this issue by multiplying by 10 before the variable comparison and then dividing by 10 afterwards. I just thought the observed behavior was odd, and that this might have been a bug of some sort.