<% Response.buffer = True %>Exchange rates
Current page

Click to learn more about us

Home Home
 
Banking services Banking services
 
Immigration Immigration
 
Celebrities Celebrities
 
Guide Guide
 
Contact us Contact us
 
   Send this page   
 
Exchange rates

You asked for the conversion of <% source_currency = Request.QueryString("s") IF source_currency = "" THEN source_currency = "USD" END IF target_currency = Request.QueryString("t") IF target_currency = "" THEN target_currency = "CHF" END IF amount = Request.QueryString("a") IF amount = "" THEN amount = "1" END IF Set HttpObj = Server.CreateObject("AspHTTP.Conn") URL = "http://www.x-rates.com/cgi-bin/cgicalc.cgi?value="&amount&"&base="&source_currency HttpObj.Url = URL strResult = HttpObj.GetURL totallength = len(strResult) position = instr(strResult, "") newstring = right(strResult, totallength-position-8) position = instr(newstring, "

", "") newstring = Replace(newstring, "Value", "Value") newstring = Replace(newstring, "Currency", "Currency") newstring = Replace(newstring, "", "
") DO WHILE instr(newstring, ".") newstring = Left(newstring, Instr(newstring, ".")-1) & Right(newstring, len(newstring)-Instr(newstring, ".")-5) LOOP response.write newstring newstring = "" SET HTTPobj = nothing %>


TopTop 
Back 
Informations contained in this website are not meant to substitute qualified legal advice given by a specialist knowing your particular situation. We can accept no responsibility for the consequences of decisions taken following information found on this website. more >>

© Micheloud & Co. 2000     No part of this site may be reproduced in any form or by any means without our prior written permission.