public function formatByIntlLocalizedDecimal(
        $locale = null,
        Currencies $currencies = null,
        $style = NumberFormatter::CURRENCY
    ) {
        $numberFormatter = new NumberFormatter($locale ?: static::getLocale(), $style);
        $formatter = new IntlLocalizedDecimalFormatter($numberFormatter, $currencies ?: static::getCurrencies());

        return $this->formatByFormatter($formatter);
    }
public function formatByIntlLocalizedDecimal(
        $locale = null,
        Currencies $currencies = null,
        $style = NumberFormatter::CURRENCY
    ) {
        $numberFormatter = new NumberFormatter($locale ?: static::getLocale(), $style);
        $formatter = new IntlLocalizedDecimalFormatter($numberFormatter, $currencies ?: static::getCurrencies());

        return $this->formatByFormatter($formatter);
    }
public function formatByIntlLocalizedDecimal ( $ locale = null , Currencies $ currencies = null , $ style = NumberFormatter :: CURRENCY ) { $ numberFormatter = new NumberFormatter ( $ locale ? : static :: getLocale ( ) , $ style ) ; $ formatter = new IntlLocalizedDecimalFormatter ( $ numberFormatter , $ currencies ? : static :: getCurrencies ( ) ) ; return $ this -> formatByFormatter ( $ formatter ) ; }
Format by intl localized decimal.

@param string|null       $locale
@param \Money\Currencies $currencies
@param int               $style

@return string
Format by intl localized decimal .