Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
Hello.
The issue was discussing
XF\Language::currencyFormat method now returns only fixed (two) decimal places despite the argument passed. Now it's impossible to format this value and change into custom view. I.e. 0.12345. It worked fine till late XF 2.1.x versions. Than in last 2.2.x versions seems something changes and this function stopped work correctly.
Where is the problem?
Language.php, function currencyFormat.
In XF 2.1.2 it was
PHP:
public function...
The issue was discussing
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.
.XF\Language::currencyFormat method now returns only fixed (two) decimal places despite the argument passed. Now it's impossible to format this value and change into custom view. I.e. 0.12345. It worked fine till late XF 2.1.x versions. Than in last 2.2.x versions seems something changes and this function stopped work correctly.
Where is the problem?
Language.php, function currencyFormat.
In XF 2.1.2 it was
PHP:
public function...
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.