public function formatCurrency($amount)
    {
        $money = $this->getMoney((string) $amount);
        $formatter = new DecimalMoneyFormatter($this->getCurrencies());

        return $formatter->format($money);
    }
public function formatCurrency($amount)
    {
        $money = $this->getMoney((string) $amount);
        $formatter = new DecimalMoneyFormatter($this->getCurrencies());

        return $formatter->format($money);
    }
public function formatCurrency ( $ amount ) { $ money = $ this -> getMoney ( ( string ) $ amount ) ; $ formatter = new DecimalMoneyFormatter ( $ this -> getCurrencies ( ) ) ; return $ formatter -> format ( $ money ) ; }
Format an amount for the payment currency.

@param string $amount
@return string
Format an amount for the payment currency .