src/Models/Invoice.php
public function formatPrice($price)
    {
        $currencies = new ISOCurrencies();

        $numberFormatter = new \NumberFormatter($this->locale, \NumberFormatter::CURRENCY);
        $moneyFormatter = new IntlMoneyFormatter($numberFormatter, $currencies);

        return $moneyFormatter->format($price);
    }
public function formatPrice($price)
    {
        $currencies = new ISOCurrencies();

        $numberFormatter = new \NumberFormatter($this->locale, \NumberFormatter::CURRENCY);
        $moneyFormatter = new IntlMoneyFormatter($numberFormatter, $currencies);

        return $moneyFormatter->format($price);
    }
public function formatPrice ( $ price ) { $ currencies = new ISOCurrencies ( ) ; $ numberFormatter = new \ NumberFormatter ( $ this -> locale , \ NumberFormatter :: CURRENCY ) ; $ moneyFormatter = new IntlMoneyFormatter ( $ numberFormatter , $ currencies ) ; return $ moneyFormatter -> format ( $ price ) ; }
Readable price.

@param Money $price

@return string
Readable price .