Checking the quoted direction
The output shows whole won. Retain rate precision until the amount is rounded when reproducing the worked example.
Reference snapshot and costs
The ECB reference snapshot is dated 2026-11-23, retrieved on 2026-11-23. Every stored rate is quoted against one euro, and changing source or target retains that same dated snapshot. This is not a live quote. Banks, cards, and exchange services can use another executable rate, charge fees, or apply a spread. Those costs are excluded from the reference calculation.
Precision and display rounding
Decimal arithmetic is used for the rate and amount. Final display rounding is half-up: zero decimals for JPY and KRW and two for the other covered currencies. Keep full rate precision until the final multiplication instead of calculating from the separately rounded cross-rate display.