Skip to Content
0
Former Member
Feb 08, 2012 at 07:08 AM

write XXX TO YYY currency currency_key. JPY currency problem.

2349 Views

Hi,

I am using this to convert a JPY currency, there is no decimal for this currency.

currency_key = 'JPY'.

write XXX TO YYY currency currency_key.

The statement do not convert the amount correctly, for example,

when XXX = 100.00

YYY will turn into 10,000 which is not correct.

the "write" command will always remove the decimal point of 100.00 and turn it into 10000 for JPY currency.

Is there any other better way to perform the conversion?

Thank you.