[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] format total_cost
At 06:02 PM 8/30/2002 +0200, you wrote:
>[perl]
>my $price = $Tag->total_cost();
>return $price
>[/perl]
>
>the output is for example 130.00$
>
>[perl]
>my $price = $Tag->total_cost(noformat=>1);
$Tag->total_cost({noformat => 1,});
There are a lot of good Perl books out there, I recommend Larry Wall's.
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies <dan.browning@kavod.com> |
| (360) 882-7872 x7, 6700 NE 162nd Ave, Suite 210, Vancouver, WA |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Bride, n.:
A woman with a fine prospect of happiness behind her.
-- Ambrose Bierce, "The Devil's Dictionary"