What's new

Welcome to NullScriptz - NulledScriptz

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Latest Thread

Share your content here:

Don't want to upload to our server on NullScriptz, Then share it now on our partner shareupld.com! Upload for free or take a subscription to be sure your files are save !

Knowledge Base

We are building our knowledge-base, find your answers! Or get directly in contact with us by creating a ticket. (In progress..)

  • NullScriptz.nl is for SALE!

    More information, please contact: WinSys32 or mail to: nullscriptzsale@gmail.com

    Buy-Now: $3.000,00
    +/- Unique visitors (Monthly): 10.000+ (Now lower due to inactivity of me) | Average income (Monthly): €100 - €500 + Domain + Server and all files and databases.

[RSS Feed/News] Function currencyFormat bug

NS Bot

Moderator
Staff member
LV
0
 
Joined
Mar 31, 2020
Messages
18,889
Reaction score
131
Points
63
Awards
2
Website
nullscriptz.nl
Country flag
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...



 

Birthdays

Latest resources

Top Bottom