You've fallen for the classic mistake between = and ==. = is the assignment operator, == is the equality comparison operator.

What that code is doing is assigning false to decimal, then evaluating...