EURFRSEKw.d Format

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

Syntax

EURFRSEKw.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 EURFRSEKw.d format converts an amount from Swedish kronor to an amount in euros and produces a formatted euro value. The conversion rate is a changeable rate that is incorporated into the EURFRSEKw.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 Swedish kronor, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrsek5.;
   put amount eurfrsek9.2; 
   datalines; 
50  
1234.56  
12345 
;
run;
   E5
    E5,34
 E132
  E131,81
1.318
E1.318,08
Amounts
Statements
Results
 
 
----+----1----2
50
put amount eurfrsek5.;
put amount eurfrsek9.2;
   E5
    E5,34
1234.56
put amount eurfrsek5.;
put amount eurfrsek9.2; 
 E132
  E131,81
12345
put amount eurfrsek5.;
put amount eurfrsek9.2;
1.318
E1.318,08