precision, $currency->decimal_separator, $currency->thousand_separator ); $currency_with_symbol = ''; if ($currency->swap_currency_symbol) { $currency_with_symbol = $format_money.''.$currency->symbol.''; } else { $currency_with_symbol = ''.$currency->symbol.''.$format_money; } return $currency_with_symbol; }