Answers for "get current currency of store"

0

get current currency of store

$objectManager = \Magento\Framework\App\ObjectManager::getInstance(); // Instance of Object Manager
$priceHelper = $objectManager->create('Magento\Framework\Pricing\Helper\Data'); // Instance of Pricing Helper
$value =  1000; // or whatever value you have in your template
$formattedCurrencyValue = $priceHelper->currency($value, true, false);
Posted by: Guest on September-18-2020

Code answers related to "get current currency of store"

Browse Popular Code Answers by Language