Additional NLS Language Elements |
Converts an amount from euros to British pounds.
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 EURTOGBPw.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 EURTOGBPw.d
format and the EUROCURR function. For more information about European currency
conversion and currency conversion rate tables, see
Overview to European Currency Conversion.
The following table shows input values in euros, SAS statements, and
the conversion results in British pounds.
Amounts |
Statements |
Results |
|
|
----+----1----2
|
1
|
put amount eurtogbp6.;
put amount eurtogbp12.2;
|
1
0.70
|
1234.56
|
put amount eurtogbp6.;
put amount eurtogbp12.2;
|
864
864.35
|
12345
|
put amount eurtogbp6.;
put amount eurtogbp12.2;
|
8643
8643.13
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.