greg_coates has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Template::Toolkit and Currency Formatting
by Fletch (Bishop) on Dec 18, 2008 at 01:59 UTC | |
by greg_coates (Initiate) on Dec 18, 2008 at 04:19 UTC | |
|
Re: Template::Toolkit and Currency Formatting
by locked_user sundialsvc4 (Abbot) on Dec 18, 2008 at 03:33 UTC |