EURTOGBPw.d Format
Converts an amount from euros to British pounds.
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 EURTOGBP
w.
d format
converts an amount in euros to an amount in British pounds. The conversion
rate is a changeable rate that is incorporated into the EURTOGBP
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 British pounds.
data _null_;
input amount;
put amount eurtogbp6.;
put amount eurtogbp12.2;
datalines;
1
1234.56
12345
;
run;
SAS log:
8 put amount eurtogbp6.;
9 put amount eurtogbp12.2;
10 datalines;
1
0.70
864
864.35
8643
8643.13