EURTOROLw.d Format

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

Syntax

EURTOROLw.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 EURTOROLw.d format converts an amount in euros to an amount in Romanian lei. The conversion rate is a changeable rate that is incorporated into the EURTOROLw.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 euros, SAS statements, and the conversion results in Romanian lei.
data _null_; 
   input amount;    
   put amount eurtorol6.;
   put amount eurtorol12.2;
   datalines; 
1  
1234.56  
12345 
;
run;
SAS log:
98      put amount eurtorol6.;
99      put amount eurtorol12.2;
100     datalines;
      14
       13.71
   16926
    16925.82
  169250
   169249.95
Amounts
Statements
Results
 
 
----+----1----2
1
put amount eurtorol6.;
put amount eurtorol12.2;
      14
       13.71
1234.56
put amount eurtorol6.;
put amount eurtorol12.2; 
   16926
    16925.82
12345
put amount eurtorol6.;
put amount eurtorol12.2;
  169250
   169249.95