Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

How can I get current currency symbol of site in my custom module? as example if set to USD show $.

I know there is some api provide this job, but I don't found them, anybody know how can I get current currency symbol ?

share|improve this question

1 Answer 1

If you want get default (current) currency you can use :

$cur=commerce_currency_load();
$sym=$cur['symbol'];
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.