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.

Replies are listed 'Best First'.
Re^3: Excel - how do I format negative Costs in Red
by merrymonk (Hermit) on Feb 02, 2010 at 15:49 UTC
    hmmm - but then I really would have to know what I was doing!