Get base currency code, default currency code, current currency code, all allowed currency code and current currency rate in Magento.
Base currency : This currency is the currency that is used for online transaction from your site.
Default currency : This currency is the currency used to display pricing in your website.
Current currency : This currency is the currency currently chosen by the user for displaying price in the website.
Here is code...
Get Base Currency Code
Mage::app()->getStore()->getBaseCurrencyCode();
Get Default Currency Code
Mage::app()->getStore()->getDefaultCurrencyCode();
Get Current Currency Code
Mage::app()->getStore()->getCurrentCurrencyCode();
Get current currency rates...
$availableCurrencyCodes = Mage::app()->getStore()->getAvailableCurrencyCodes();
print_r($availableCurrencyCodes);
For example : Current exchange rate is 1 USD = 0.64 POUND. Then, current currency rate will be 0.64.
Labels: Magento