EURTOTRLw.d Format

Converts an amount from euros to Turkish liras.
Category: Currency Conversion
Alignment: right

Syntax

EURTOTRLw.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 EURTOTRLw.d format converts an amount in euros to an amount in Turkish liras. The conversion rate is a changeable rate that is incorporated into the EURTOTRLw.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 Turkish liras.
data _null_; 
   input amount;    
   put amount eurtotrl8.;
   put amount eurtotrl14.2;
   datalines; 
1  
1234.56  
12345 
;
run;
SAS log:
62      put amount eurtotrl8.;
63      put amount eurtotrl14.2;
64      datalines;
     337
        336.91
  415938
     415938.08
 4159179
    4159178.64
Amounts
Statements
Results
 
 
----+----1----2
1
put amount eurtotrl8.;
put amount eurtotrl14.2;
     337
        336.91
1234.56
put amount eurtotrl8.;
put amount eurtotrl14.2; 
  415938
     415938.08
12345
put amount eurtotrl8.;
put amount eurtotrl14.2;
 4159179
    4159178.64