Rounded foreign amount and added some condition

Rounded foreign amount and added some condition