Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Currency converter 1

Status
Not open for further replies.

theevilone

IS-IT--Management
Aug 19, 2001
52
GB
Hi,

I am building a site that lists prices in British pounds. I want to be able to convert the prices in Euros too. Does anyone know of a way to get the current exchange rate from somewhere else dynamically and use that to display the prices in Euros.

This would be preferable to writing some code that would need me to input the exchange rate every day.

Thanks in Advance,
Ravi
 
i ahve used this in the past to do just that.


quite simple syntax as well:

<cf_CurConvertTwo from=&quot;GBP&quot; to=&quot;USD&quot; ammount=&quot;1&quot; result=&quot;variable_you_want_to_store_it_in&quot;>

I think that the required to value is EUR but don't quote me on that.

Copy the custom tag and put it into your cfusion/customtags directory on your server. Its a simple CFHTTP to the yahoo server, so you can find out the name of the euro from the yahoo site if the above doesn't work

hope this helps !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top