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

[ic] $Tag->total_cost Giving Spurious Result?


Hi folks,

Running IC 5.2.0 and the total_cost tag in perl is giving me spurious results,
it seems to be *sometimes* (50/50) not adding the shipping value. [total-cost]
always returns the correct total cost its just when using it in perl. Here is
the snippet of code, can anyone suggest why this does not always give the
correct total cost.

[perl]
my $price = $Tag->total_cost({noformat => 1,});
$Scratch->{new-total} = sprintf("%.2f", $price);
[/perl]

[scratch new-total]

Thanks,
Andy.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
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.