gret the currency of the cart magento 2 code example
Example: 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);