EURTOFIMw.d Format

Converts an amount from euros to Finnish markkas.
Category: Currency Conversion
Alignment: right

Syntax

EURTOFIMw.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 EURTOFIMw.d format converts an amount in euros to an amount in Finnish markkas. The conversion rate is a fixed rate that is incorporated into the EURTOFIMw.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 Finnish markkas.
data _null_; 
   input amount;    
   put amount eurtofim6.;
   put amount eurtofim12.2;
   datalines; 
1  
1234.56  
12345 
;
run;
8       put amount eurtofim6.;
9       put amount eurtofim12.2;
10      datalines;
     6
        5.95
  7340
     7340.36
 73400
    73400.04
Amounts
Statements
Results
 
 
----+----1----2
1
put amount eurtofim6.;
put amount eurtofim12.2;
     6
        5.95
1234.56
put amount eurtofim6.;
put amount eurtofim12.2; 
  7340
     7340.36
12345
put amount eurtofim6.;
put amount eurtofim12.2;
 73400
    73400.04