http://www.perlmonks.org?node_id=820956


in reply to Re: Excel - how do I format negative Costs in Red
in thread Excel - how do I format negative Costs in Red

If you're going for saving typing . . .

my %dp_numfmt; $dp_numfmt{"dp$_"} = join( ".", "0", "0"x$_) for 0..5;

The cake is a lie.
The cake is a lie.
The cake is a lie.