public function formatNumber($value, $maximumFractionDigits=0, $minimumFractionDigits=0)
    {
        $pattern = $this->getPattern($value, 'Intl_NumberFormatNumber');

        return $this->formatNumberWithPattern($pattern, $value, $maximumFractionDigits, $minimumFractionDigits);
    }
public function formatNumber($value, $maximumFractionDigits=0, $minimumFractionDigits=0)
    {
        $pattern = $this->getPattern($value, 'Intl_NumberFormatNumber');

        return $this->formatNumberWithPattern($pattern, $value, $maximumFractionDigits, $minimumFractionDigits);
    }
public function formatNumber ( $ value , $ maximumFractionDigits = 0 , $ minimumFractionDigits = 0 ) { $ pattern = $ this -> getPattern ( $ value , 'Intl_NumberFormatNumber' ) ; return $ this -> formatNumberWithPattern ( $ pattern , $ value , $ maximumFractionDigits , $ minimumFractionDigits ) ; }
Formats a given number

@see \Piwik\NumberFormatter::format()

@param string|int|float $value
@param int $maximumFractionDigits
@param int $minimumFractionDigits
@return mixed|string
Formats a given number