How to get Magento store currency

currency, locale, magento, xml-rpc

Solution

Store currency code eg. USD

$currency_code = Mage::app()->getStore()->getCurrentCurrencyCode();

store currency symbol eg. $

$currency_symbol = Mage::app()->getLocale()->currency( $currency_code )->getSymbol();

store currency name eg. US Dollar

$currency_name = Mage::app()->getLocale()->currency( $currency_code )->getName();

Reference

Problem

I'm using Magento XML-RPC api. I haven't found how to get the current store country or currency used for the products. Is it possible to get the currency information through Magento XML-RPC api. Any link to documentation is very helpful thank you.

Original source