Use instanceof ValueDecimal (not ValueDouble)