JavaScript converting prices on the page (according to a fixed exchange rate)

Closed job
no avatar
matt08
Employer
100 deals
Job category:
Desktop/web applications
Expected budget:

Negotiable

Preferable skills:
Published:
Finished

Job description

I would like to receive a JavaScript script (pure JS - without jQuery etc.) which will convert prices in EUR and USD according to fixed - defined in the script - currency rates and display them on the website.

- There is a web page with prices in USD, EUR and PLN (e.g. €2.03, $8.32, 99,99 PLN)

- We put a script on the page, where the currency rates for USD and EUR are given in the code (e.g. 4.55 and 4.00)

- When the page is loaded, the script converts prices according to the defined exchange rate and shows the price both in PLN and in the original currency (USD or EUR).

Required functions: