function FormatCurrency($amount, $NumDigitsAfterDecimal, $IncludeLeadingDigit, $UseParensForNegativeNumbers, $GroupDigits){ // export the values returned by localeconv into the local scope if (function_exists("localeconv")) extract(localeconv()); // set defaults if locale is not set if (empty($currency_symbol)) $currency_symbol = DEFAULT_CURRENCY_SYMBOL; if (empty($mon_decimal_point)) $