3namespace Bitrix\Conversion;
12 static $module, $baseCurrency;
16 $module = Loader::includeModule(
'currency');
17 $baseCurrency = Config::getBaseCurrency();
20 if ($module &&
$currency != $baseCurrency)
30 static $module, $baseCurrency;
34 $module = Loader::includeModule(
'currency');
35 $baseCurrency = Config::getBaseCurrency();
40 $value = \CCurrencyLang::CurrencyFormat($value, $baseCurrency);
53 $unit = Config::getBaseCurrency();
54 if (Loader::includeModule(
'currency'))
57 CCurrencyLang::getPriceControl(
' ', $unit)
static getBaseCurrencyUnit()
static formatToBaseCurrency($value, $format=null)
static convertToBaseCurrency($value, $currency)
static ConvertCurrency($valSum, $curFrom, $curTo, $valDate="")