EURFRITLw.d Format

Converts an amount from Italian lire to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRITLw.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 EURFRITLw.d format converts an amount from Italian lire to an amount in euros and produces a formatted euro value. The conversion rate is a fixed rate that is incorporated into the EURFRITLw.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 Italian lire, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfritl5.;
   put amount eurfritl9.2;
   datalines; 
2000  
7234.56  
72345 
;
run;
8       put amount eurfritl5.;
9       put amount eurfritl9.2;
10      datalines;
   E1
    E1,03
   E4
    E3,74
  E37
   E37,36
Amounts
Statements
Results
 
 
----+----1----2
2000
put amount eurfritl5.;
put amount eurfritl9.2;
   E1
    E1,03
7234.56
put amount eurfritl5.;
put amount eurfritl9.2; 
   E4
    E3,74
72345
put amount eurfritl5.;
put amount eurfritl9.2;
  E37
   E37,36