** WPSC_Currency class **

Access all information about a currency creating a WPSC_Currency object.  No longer a need to do database queries to WPSC_TABLE_REGION_TAX. Information is retrieved from the WPSC_Countries object which maintains a cache used by a geographic classes.

Creating a currency object:
new WPSC_Currency ( $currency_name )

As an example, if you have a currency name in hand, you can find all information by doing
$wpsc_currency = new WPSC_Currency (  ‘USD’ );

If you are working with a country there is also an easy way to get the currency for that country through the WPSC_Country class

$wpsc_currency = $wpsc_country->currency();