public static function compareIntegers($value, $setting_value)
    {
        $okay = false;

        $actual = self::getIntegerValue($value);
        $operator = self::getOperator($setting_value);
        $expected = self::getIntegerValue($setting_value);
        switch ($operator) {
            case '>':
                $okay = $actual > $expected;
                break;
            case '>=':
                $okay = $actual >= $expected;
                break;
            case '<':
                $okay = $actual < $expected;
                break;
            case '<=':
                $okay = $actual <= $expected;
                break;
            case '!=':
                $okay = $actual != $expected;
                break;
            case '=':
            default:
                $okay = $actual == $expected;
                break;
        }

        return $okay;
    }