EURFRGRDw.d Format
Converts an amount from Greek drachmas 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 EURFRGRD
w.
d format
converts an amount from Greek drachmas to an amount in euros and produces
a formatted euro value. The conversion rate is a fixed rate that is
incorporated into the EURFRGRD
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 Greek drachmas, SAS statements, and the conversion
results in euros.
data _null_;
input amount;
put amount eurfrgrd5.;
put amount eurfrgrd9.2;
datalines;
400
40234.56
402345
;
run;
SAS log:
3 put amount eurfrgrd5.;
4 put amount eurfrgrd9.2;
5 datalines;
E1
E1,17
E118
E118,03
1.180
E1.180,30