Skip to Content
0
Nov 22, 2012 at 12:16 PM

CONVERT_FOREIGN_TO_FOREIGN_CUR result incorrect

725 Views

Hi,

When I use the FM 'CONVERT_FOREIGN_TO_FOREIGN_CUR' to convert an amount from USD to VND, the result has 2 0s less. For example, when the Exchange Rate is 20.7 and Translation Ratio is 1:1000,

130 USD = 130 * 20.7 * 1000 = 2691000 VND

But, the FM 'CONVERT_FOREIGN_TO_FOREIGN_CUR' returns the value as 26910 VND.

P.S: USD has 2 decimal places and VND has 0 decimal places as per config.