/** * Format currency. * * Example: * {$MyVar|formatcurrency} * * @param string $string The contents to transform. * * @return string The modified output. */ function smarty_modifier_formatCurrency($string) { return DataUtil::formatCurrency($string); }