EURTOSEKw.d Format
Converts an amount from euros to Swedish kronor.
Category: |
Currency Conversion |
Alignment: |
right |
Syntax
Syntax Description
- w
-
specifies the width
of the output field.
- d
-
specifies the number
of digits to the right of the decimal point in the numeric value.
Details
The EURTOSEK
w.
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 EURTOSEK
w.
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