fix rates to string

This commit is contained in:
Yurii
2025-12-13 10:40:59 +02:00
parent 0ee8d1dc91
commit 7f9457e8d7
@@ -51,7 +51,7 @@ class CurrencyRates implements AppParam
$rates = $this->configDataProvider->getCurrencyRates()->toAssoc();
foreach ($rates as $code => $value) {
$rates[$code] = $this->numberUtil->format($value, self::PRECISION);
$rates[$code] = $this->numberUtil->format($value, self::PRECISION, '.', '');
}
return (object) $rates;