芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/yiisoft/yii2/i18n/Locale.php
locale === null) { $this->locale = Yii::$app->language; } } /** * Returns a currency symbol * * @param string|null $currencyCode the 3-letter ISO 4217 currency code to get symbol for. If null, * method will attempt using currency code from [[locale]]. * @return string */ public function getCurrencySymbol($currencyCode = null) { $locale = $this->locale; if ($currencyCode !== null) { $locale .= '@currency=' . $currencyCode; } $formatter = new \NumberFormatter($locale, \NumberFormatter::CURRENCY); return $formatter->getSymbol(\NumberFormatter::CURRENCY_SYMBOL); } }