I'm using Template::Toolkit to generate web reports. I've searched high and low for a way to format currency values so that negative numbers are surrounded by parenthesis and positive numbers are not. I'm coming up empty. (I have successfully used the 'format' filter to format currency using negative signs, but that's not what I want.)
Does anyone know of a module that will do this? Barring that, can anyone point me to documentation as to how to write a filter for the toolkit?
In reply to Template::Toolkit and Currency Formatting by greg_coates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |