[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [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      <suppressed> |
| (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"

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.