EURFRDEMw.d Format
Converts an amount from Deutsche marks to euros.
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 EURFRDEM
w.
d format
converts an amount from Deutsche marks to an amount in euros and produces
a formatted euro value. The conversion rate is a fixed rate that is
incorporated into the EURFRDEM
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 Deutsche marks, SAS statements, and the conversion
results in euros.
data _null_;
input amount;
put amount eurfrdem5.;
put amount eurfrdem9.2;
datalines;
50
1234.56
12345
;
run;
8 put amount eurfrdem5.;
9 put amount eurfrdem9.2;
10 datalines;
E26
E25,56
E631
E631,22
6.312
E6.311,90