Salesforce provides foreign currency management. You define the currencies and their decimal places and conversion rate. You need to request explicitly that Salesforce enables the multi-currency feature for your organization. You can enable the Advanced Currency Management yourself, which allows to update the currency rates for a specific date range (minimum: one day). If you want to use dated exchange rates, they are restricted to opportunities, opportunity products, and opportunity reports.
