EURFRIEPw.d Format

Converts an amount from Irish pounds to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRIEPw.d

Syntax Description

w
specifies the width of the output field.
Default:6
d
specifies the number of digits to the right of the decimal point in the numeric value.

Details

The EURFRIEPw.d format converts an amount from Irish pounds to an amount in euros and produces a formatted euro value. The conversion rate is a fixed rate that is incorporated into the EURFRIEPw.d format and the EUROCURR function. For more information about European currency conversion and currency conversion rate tables, see Currency Representation.

Example

The following table shows input values in Irish pounds, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfriep5.;
   put amount eurfriep9.2;
   datalines; 
1  
1234.56  
12345 
;
run;
8       put amount eurfriep5.;
9       put amount eurfriep9.2;
10      datalines;
   E1
    E1.27
1,568
E1,567.57
15675
15,674.92
Amounts
Statements
Results
 
 
----+----1----2
1
put amount eurfriep5.;
put amount eurfriep9.2;
   E1
    E1.27
1234.56
put amount eurfriep5.;
put amount eurfriep9.2; 
1,568
E1,567.57
12345
put amount eurfriep5.;
put amount eurfriep9.2;
15675
15,674.92