Thank you so much :)
I modified the relevant line of code as follows based on the pointers above, and it seems to have solved the anomaly:
#$session->param('CART')->{total_amount} -= $amount; $session->param('CART')->{total_amount} = sprintf "%.2f", $ses +sion->param('CART')->{total_amount} - $amount;
Do we get the same problem with addition?
In reply to Re: Getting stranger values in subtraction
by Anonymous Monk
in thread Getting stranger values in subtraction
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |