Based upon smarty documentation I should be able to do something like this
and get something like 1,234.56, but it shows blank. In the logs I see:
[plugin] (secure mode) modifier 'number_format' is not allowed (core.load_plugins.php, line 118) in Smarty->trigger_error() (line 1094 of .../sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
In searching our code tree a bit, I find a plugin modifier.crmNumberFormat.php, which looks like it should be the one. So why isn't it using it?
I do see that there are two Smarty plugin directories. Not sure which one it's using. There is one in sites/all/modules/civicrm/packages/Smarty and another in sites/all/modules/civicrm/CRM/Core/Smarty
We're running 4.5.8 and have 4.6.7 in a dev environment.