EURFRGBPw.d Format

Converts an amount from British pounds to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRGBPw.d

Syntax Description

w
specifies the width of the output field.
Default:6
d
specifies the number of digits to the right of the decimal point in the numeric value.

Details

The EURFRGBPw.d format converts an amount from British pounds to an amount in euros and produces a formatted euro value. The conversion rate is a changeable rate that is incorporated into the EURFRGBPw.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 British pounds, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrgbp5.;
   put amount eurfrgbp9.2; 
   datalines; 
50  
1234.56  
12345 
;
run;
SAS log:
3       put amount eurfrgbp5.;
4       put amount eurfrgbp9.2;
5      datalines;
   E71
    E71.42
1,763
E1,763.32
17632
17,632.39
Amounts
Statements
Results
 
 
----+----1----2
50
put amount eurfrgbp5.;
put amount eurfrgbp9.2;
   E71
    E71.42
1234.56
put amount eurfrgbp5.;
put amount eurfrgbp9.2; 
1,763
E1,763.32
12345
put amount eurfrgbp5.;
put amount eurfrgbp9.2;
17632
17,632.39