[RSS Feed/News] Function languageFormat / currencyFormat

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Hello.
Function languageFormat returns fixed decimal count by default. I have function, that formats this value and changes into custom view. To 0.123 fa-icon. It worked fine till late XF 2.1.x versions. Than in last versions seems something changes and this function stopped work correctly.

Code:

Code:
    public static function formatValue($billId, $value, $useFa = true)
    {
        $app = \XF::app();
        $language = \XF::language();

        $bills = $app['abills']...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom