allow setting a decimal property to an int or long (but not a string)