source/Core/Language.php
public function formatCurrency($dValue, $oActCur = null)
    {
        if (!$oActCur) {
            $oActCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();
        }
        $sValue = \OxidEsales\Eshop\Core\Registry::getUtils()->fRound($dValue, $oActCur);

        return number_format((double) $sValue, $oActCur->decimal, $oActCur->dec, $oActCur->thousand);
    }
public function formatCurrency($dValue, $oActCur = null)
    {
        if (!$oActCur) {
            $oActCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();
        }
        $sValue = \OxidEsales\Eshop\Core\Registry::getUtils()->fRound($dValue, $oActCur);

        return number_format((double) $sValue, $oActCur->decimal, $oActCur->dec, $oActCur->thousand);
    }
public function formatCurrency ( $ dValue , $ oActCur = null ) { if ( ! $ oActCur ) { $ oActCur = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getActShopCurrencyObject ( ) ; } $ sValue = \ OxidEsales \ Eshop \ Core \ Registry :: getUtils ( ) -> fRound ( $ dValue , $ oActCur ) ; return number_format ( ( double ) $ sValue , $ oActCur -> decimal , $ oActCur -> dec , $ oActCur -> thousand ) ; }
Returns formatted number, according to active currency formatting standards.

@param float  $dValue  Plain price
@param object $oActCur Object of active currency

@return string
Returns formatted number according to active currency formatting standards .