Skip to Content
0
Jun 15, 2009 at 01:51 PM

convert from USD to EUR

246 Views

I have an invoice and i want to convert the net value of the invoice (in this case KOMK-FKWRT) from usd to eur using the conversion factor from the invoice (in this case VBDKR-KURRF).

If i trie:

price_eur = KOMK-FKWRT * VBDKR-KURRF

doesn't work (i see a strange number; something like this 123123213.23 and correct is 123123,21323) because KOMK-FKWRT is currency type and VBDKR-KURRF is decimal.

I tried to convert the VBDKR-KURRF from decimal to currency but doesn't work.

I tried write price_eur to price_eur_char currency 'EUR' but doesn't work.

Any ideea how to make the conversions?

Thnx.