public static function numberFormat($number, $decimals = 0)
    {
        return is_numeric($number) ? number_format(
            $number,
            $decimals,
            __('lang_decimal_point'),
            __('lang_thousands_sep')
        ) : $number;
    }
public static function numberFormat($number, $decimals = 0)
    {
        return is_numeric($number) ? number_format(
            $number,
            $decimals,
            __('lang_decimal_point'),
            __('lang_thousands_sep')
        ) : $number;
    }
public static function numberFormat ( $ number , $ decimals = 0 ) { return is_numeric ( $ number ) ? number_format ( $ number , $ decimals , __ ( 'lang_decimal_point' ) , __ ( 'lang_thousands_sep' ) ) : $ number ; }
A wrapper for PHP's number_format function
@param $number
@param int $decimals
@return string
A wrapper for PHP s number_format function