Fix parsing of positive decimal values.

Change conditional such as that it does not rely on a Fixnum object
evaluating to true or false. In Ruby, any value that is not nil or
false evaluates to true.