Hi,

In setting up Zen-cart to be able to handle payment from Japanese yen, which is a good option right now because the USD is so weak, I came up with an error.

I have not dug into this so deep yet, but Yen is being handled wrong.

For example, lets say that 1USD = 100 yen. This would be a perfect world, and everything would work right.

Yen does not use decimals, never, only in rates can you use a decimal for yen, and then it is taken to the nearest 1 yen. 1yen is not expressed as .01, it is 1. It never goes below 1. This is the problem

So now lets say the rate is 1usd = 85.4094093 yen Now we are going to have problems paying with paypal if you don't have Yen as your default currency. The reason being, yen is going to be passed to paypal like this: 2399.94 yen, Paypal sees this, and goes...wait, yen can't be .94 send error 10401.

Dr. Byte if you have a code update you would like to do, please advise or I will come up with one soon as I have a client waiting for this.

Regards,

Shaun