EURTOPTEw.d Format
Converts an amount from euros to Portuguese escudos.
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 EURTOPTE
w.
d format
converts an amount in euros to an amount in Portuguese escudos. The
conversion rate is a fixed rate that is incorporated into the EURTOPTE
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 Portuguese escudos.
data _null_;
input amount;
put amount eurtopte8.;
put amount eurtopte12.2;
datalines;
1
1234.56
12345
;
run;
26 put amount eurtopte8.;
27 put amount eurtopte12.2;
28 datalines;
200
200.48
247507
247507.06
2474950
2474950.29