public function parsePercentNumber($numberToParse, Locale $locale, $formatLength = NumbersReader::FORMAT_LENGTH_DEFAULT, $strictMode = true)
    {
        NumbersReader::validateFormatLength($formatLength);
        return $this->doParsingWithParsedFormat($numberToParse, $this->numbersReader->parseFormatFromCldr($locale, NumbersReader::FORMAT_TYPE_PERCENT, $formatLength), $this->numbersReader->getLocalizedSymbolsForLocale($locale), $strictMode);
    }
public function parsePercentNumber($numberToParse, Locale $locale, $formatLength = NumbersReader::FORMAT_LENGTH_DEFAULT, $strictMode = true)
    {
        NumbersReader::validateFormatLength($formatLength);
        return $this->doParsingWithParsedFormat($numberToParse, $this->numbersReader->parseFormatFromCldr($locale, NumbersReader::FORMAT_TYPE_PERCENT, $formatLength), $this->numbersReader->getLocalizedSymbolsForLocale($locale), $strictMode);
    }
public function parsePercentNumber ( $ numberToParse , Locale $ locale , $ formatLength = NumbersReader :: FORMAT_LENGTH_DEFAULT , $ strictMode = true ) { NumbersReader :: validateFormatLength ( $ formatLength ) ; return $ this -> doParsingWithParsedFormat ( $ numberToParse , $ this -> numbersReader -> parseFormatFromCldr ( $ locale , NumbersReader :: FORMAT_TYPE_PERCENT , $ formatLength ) , $ this -> numbersReader -> getLocalizedSymbolsForLocale ( $ locale ) , $ strictMode ) ; }
Parses percent number using proper format from CLDR.

@param string $numberToParse Number to be parsed
@param Locale $locale Locale to use
@param string $formatLength One of NumbersReader FORMAT_LENGTH constants
@param boolean $strictMode Work mode (strict when true, lenient when false)
@return mixed Parsed float number or false on failure
@api
Parses percent number using proper format from CLDR .