EURTOSEKw.d Format

Converts an amount from euros to Swedish kronor.
Category: Currency Conversion
Alignment: right

Syntax

EURTOSEKw.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 EURTOSEKw.d format converts an amount in euros to an amount in Swedish kronor. The conversion rate is a changeable rate that is incorporated into the EURTOSEKw.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 Swedish kronor.
data _null_; 
   input amount;    
   put amount eurtosek6.;
   put amount eurtosek12.2;
   datalines; 
1  
1234.56  
12345 
;
run;
SAS log:
86      put amount eurtosek6.;
87      put amount eurtosek12.2;
88      datalines;
     9
        9.37
 11563
    11562.78
115622
   115622.16
Amounts
Statements
Results
 
 
----+----1----2
1
put amount eurtosek6.;
put amount eurtosek12.2;
     9
        9.37
1234.56
put amount eurtosek6.;
put amount eurtosek12.2; 
 11563
    11562.78
12345
put amount eurtosek6.;
put amount eurtosek12.2;
115622
   115622.16