EURFRROLw.d Format

Converts an amount from Romanian lei to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRROLw.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 EURFRROLw.d format converts an amount from Romanian lei to an amount in euros and produces a formatted euro value. The conversion rate is a changeable rate that is incorporated into the EURFRROLw.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 Romanian lei, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrrol5.;
   put amount eurfrrol9.2; 
   datalines; 
50  
5234.56  
52345 
;
run;
   E4
    E3,65
 E382
  E381,81
3.818
E3.818,02
Amounts
Statements
Results
 
 
----+----1----2
50
put amount eurfrrol5.;
put amount eurfrrol9.2;
   E4
    E3,65
5234.56
put amount eurfrrol5.;
put amount eurfrrol9.2; 
 E382
  E381,81
52345
put amount eurfrrol5.;
put amount eurfrrol9.2;
3.818
E3.818,02