EURFRESPw.d Format
Converts an amount from Spanish peseta 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 EURFRESP
w.
d format
converts an amount from Spanish peseta to an amount in euros and produces
a formatted euro value. The conversion rate is a fixed rate that is
incorporated into the EURFRESP
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 Spanish peseta, SAS statements, and the conversion
results in euros.
data _null_;
input amount;
put amount eurfresp5.;
put amount eurfresp9.2;
datalines;
200
20234.56
202345
;
run;
8 put amount eurfresp5.;
9 put amount eurfresp9.2;
10 datalines;
E1
E1,20
E122
E121,61
1.216
E1.216,12