public function parseNumberWithCustomPattern($numberToParse, $format, Locale $locale, $strictMode = true)
    {
        return $this->doParsingWithParsedFormat($numberToParse, $this->numbersReader->parseCustomFormat($format), $this->numbersReader->getLocalizedSymbolsForLocale($locale), $strictMode);
    }
public function parseNumberWithCustomPattern($numberToParse, $format, Locale $locale, $strictMode = true)
    {
        return $this->doParsingWithParsedFormat($numberToParse, $this->numbersReader->parseCustomFormat($format), $this->numbersReader->getLocalizedSymbolsForLocale($locale), $strictMode);
    }
public function parseNumberWithCustomPattern ( $ numberToParse , $ format , Locale $ locale , $ strictMode = true ) { return $ this -> doParsingWithParsedFormat ( $ numberToParse , $ this -> numbersReader -> parseCustomFormat ( $ format ) , $ this -> numbersReader -> getLocalizedSymbolsForLocale ( $ locale ) , $ strictMode ) ; }
Parses number given as a string using provided format.

@param string $numberToParse Number to be parsed
@param string $format Number format to use
@param Locale $locale Locale to use
@param boolean $strictMode Work mode (strict when true, lenient when false)
@return mixed Parsed float number or false on failure
@api
Parses number given as a string using provided format .