public function validateNumberValue($value)
    {
        if (null === $this->delimiter) {
            $parts = str_split($value);
        } else {
            $parts = explode($this->delimiter, $value);
        }

        foreach ($parts as $numberSymbol) {
            if (!$this->containsSymbol($numberSymbol)) {
                throw new NumberParseException($value, $numberSymbol);
            }
        }

        return true;
    }
public function validateNumberValue($value)
    {
        if (null === $this->delimiter) {
            $parts = str_split($value);
        } else {
            $parts = explode($this->delimiter, $value);
        }

        foreach ($parts as $numberSymbol) {
            if (!$this->containsSymbol($numberSymbol)) {
                throw new NumberParseException($value, $numberSymbol);
            }
        }

        return true;
    }
public function validateNumberValue ( $ value ) { if ( null === $ this -> delimiter ) { $ parts = str_split ( $ value ) ; } else { $ parts = explode ( $ this -> delimiter , $ value ) ; } foreach ( $ parts as $ numberSymbol ) { if ( ! $ this -> containsSymbol ( $ numberSymbol ) ) { throw new NumberParseException ( $ value , $ numberSymbol ) ; } } return true ; }
Check if a string value is a valid number of this system.

@param string $value
@throws NumberParseException

@return bool
Check if a string value is a valid number of this system .