LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2002, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 4 Jan 2002 17:09:28 -0000
Reply-To:     Philip Mason <philipmason@WOODSTREET.ORG.UK>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Philip Mason <philipmason@WOODSTREET.ORG.UK>
Subject:      Re: EURO conversion
Comments: To: David Carr <David.Carr@KK-I.MED.UNI-MUENCHEN.DE>
In-Reply-To:  <3C358E70.21118.1B668A@localhost>
Content-Type: text/plain; charset="us-ascii"

The EUROCURR function converts one European currency to another and returns a value. Here are some examples ...

1 . To convert from DEM to EUR data _null_; amount=eurocurr(1,'dem','eur'); put amount= ; run;

If from-currency-code has a blank value, EUROCURR converts currency from Euros to the currency of the specific European country that you specify.

For more information see http://www.sas.com/rnd/base/early-access/euro-support/a001648135.htm

2. To convert from EUR to DEM data _null_; amount=eurocurr(1,'eur','dem'); put amount= ; run;

If to-currency-code has a blank value, EUROCURR converts currency from the specific European country that you specify to Euros.

3. Exchange rates ... Rates were fixed for some countries on 1Jan1999 but can be altered for others by editing the file stored under the fileref EURFRTBL. data _null_; file eurfrtbl; input; put _infile_; datalines; EURFRDKK=3.75 EURFRCHF=3 run;

4. formats for conversion EURFRxxxw.d formats: EURFRATSw.d - convert to Euro from Austrian schilling EURFRBEFw.d - convert to Euro from Belgian franc EURFRFIMw.d - convert to Euro from Finnish markka EURFRFRFw.d - convert to Euro from French franc EURFRDEMw.d - convert to Euro from Deutsche mark EURFRIEPw.d - convert to Euro from Irish pound EURFRITLw.d - convert to Euro from Italian lira EURFRLUFw.d - convert to Euro from Luxembourg franc EURFRNLGw.d - convert to Euro from Dutch guilder EURFRPTEw.d - convert to Euro from Portuguese escudo EURFRESPw.d - convert to Euro from Spanish peseta EURFRCHFw.d - convert to Euro from Swiss franc EURFRDKKw.d - convert to Euro from Danish krone EURFRGBPw.d - convert to Euro from British pound sterling EURFRGRDw.d - convert to Euro from Greek drachma EURFRSEKw.d - convert to Euro from Swedish krona EURFRCZKw.d - convert to Euro from Czech koruna EURFRHUFw.d - convert to Euro from Hungarian forint EURFRNOKw.d - convert to Euro from Norwegian krone EURFRRURw.d - convert to Euro from Russian ruble EURFRTRLw.d - convert to Euro from Turkish lira EURFRPLZw.d - convert to Euro from Polish zloty EURFRROLw.d - convert to Euro from Romanian leu EURFRYUDw.d - convert to Euro from Yugoslavian dinar EURFRSITw.d - convert to Euro from Slovenian tolar

EURTOxxxw.d formats: EURTOATSw.d - convert from Euro to Austrian schilling EURTOBEFw.d - convert from Euro to Belgian franc EURTOFIMw.d - convert from Euro to Finnish markka EURTOFRFw.d - convert from Euro to French franc EURTODEMw.d - convert from Euro to Deutsche mark EURTOIEPw.d - convert from Euro to Irish pound EURTOITLw.d - convert from Euro to Italian lira EURTOLUFw.d - convert from Euro to Luxembourg franc EURTONLGw.d - convert from Euro to Dutch guilder EURTOPTEw.d - convert from Euro to Portuguese escudo EURTOESPw.d - convert from Euro to Spanish peseta EURTOCHFw.d - convert from Euro to Swiss franc EURTODKKw.d - convert from Euro to Danish krone EURTOGBPw.d - convert from Euro to British pound sterling EURTOGRDw.d - convert from Euro to Greek drachma EURTOSEKw.d - convert from Euro to Swedish krona EURTOCZKw.d - convert from Euro to Czech koruna EURTOHUFw.d - convert from Euro to Hungarian forint EURTONOKw.d - convert from Euro to Norwegian krone EURTORURw.d - convert from Euro to Russian ruble EURTOTRLw.d - convert from Euro to Turkish lira EURTOPLZw.d - convert from Euro to Polish zloty EURTOROLw.d - convert from Euro to Romanian leu EURTOYUDw.d - convert from Euro to Yugoslavian dinar EURTOSITw.d - convert from Euro to Slovenian tolar

For more information on the use of the EURO in SAS see http://www.sas.com/rnd/base/early-access/euro-support/a001636585.htm

And even more support at http://www.sas.com/software/distribution/readme/europack_final.612/europ ackv6.html

Mostly cut & pasted from SASDoc by Philip Mason (philipmason@woodstreet.org.uk)

-----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of David Carr Sent: 04 January 2002 10:14 To: SAS-L@LISTSERV.UGA.EDU Subject: EURO conversion

Dear All,

could someone pass on the recent posting (possibly from Phil Mason) about EURO- conversion which I seem to have inadvertently deleted.

If I remember rightly, there were very useful formats and informats mentioned.

Many thanks for your help.

Yours,

David Carr

University Children's Hospital Munich


Back to: Top of message | Previous page | Main SAS-L page