Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

PHP - Format Currency function

Tags: function

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)) $



This post first appeared on Smash Scripts, please read the originial post: here

Share the post

PHP - Format Currency function

×

Subscribe to Smash Scripts

Get updates delivered right to your inbox!

Thank you for your subscription

×