protected function _normalizeInt($value)
    {
        $origValue = $value;
        if ($value instanceof Stringable) {
            $value = $this->_normalizeString($value);
        }

        if (!is_numeric($value)) {
            throw $this->_createInvalidArgumentException($this->__('Not a number'), null, null, $origValue);
        }

        $value += 0;

        if (fmod($value, 1) !== 0.00) {
            throw $this->_createInvalidArgumentException($this->__('Not a whole number'), null, null, $origValue);
        }

        $value = (int) $value;

        return $value;
    }