[ic] Currency Conversion Floating Point Errors?

Jake DiBella jake at geton.ca
Thu Feb 26 01:02:32 UTC 2009


> I think the issue is caused by a floating point rounding error occurring 
> in the [currency] tag, but I don't know how to go about fixing this.  Can 
> anyone help?


> Hi Jake

> I have not seen you post yet so I'll just archive the answer for us. On IRC 
> we found it was his use of the [currency] tag on line #6 here:

> http://www.paste.me.uk/1263.html - Shopping Cart code

> Basically it was converting the levy amount twice.


> Paul Jordan
>   Gish Network
>   For Print, Web, and Life
>   t.626.275.2517
>   www.gishnetwork.com 


You're right, Paul.  The issue was the levy loop.

Regards,

Jake DiBella
GetOn.com Technologies Inc.



More information about the interchange-users mailing list