Skip to content

Instantly share code, notes, and snippets.

@rodrigowebjump
Created September 16, 2014 13:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodrigowebjump/46aa96fe997e9a843cae to your computer and use it in GitHub Desktop.
Save rodrigowebjump/46aa96fe997e9a843cae to your computer and use it in GitHub Desktop.
Magento format number locale Magento formatar número respeitando a localização
<?php echo Zend_Locale_Format::toNumber($_interest, array('locale' => new Zend_Locale(Mage::app()->getLocale()->getLocale()))); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment