Additional NLS Language Elements |
Converts an amount from Greek drachmas to euros.
Category: |
Currency Conversion
|
Alignment: |
right
|
- 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.
The EURFRGRDw.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 EURFRGRDw.d format and the EUROCURR function. For more information about
European currency conversion and currency conversion rate tables, see
European Currency Conversion.
The following table shows input values in Greek drachmas, SAS statements,
and the conversion results in euros.
Amounts |
Statements |
Results |
|
|
----+----1----2
|
400
|
put amount eurfrgrd5.;
put amount eurfrgrd9.2;
|
E1
E1,17
|
40234.56
|
put amount eurfrgrd5.;
put amount eurfrgrd9.2;
|
E118
E118,03
|
402345
|
put amount eurfrgrd5.;
put amount eurfrgrd9.2;
|
1.180
E1.180,30
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.