EURFRBEFw.d Format

Converts an amount from Belgian francs to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRBEFw.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 EURFRBEFw.d format converts an amount from Belgian francs to an amount in euros and produces a formatted euro value. The conversion rate is a fixed rate that is incorporated into the EURFRBEFw.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 Belgian francs, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrbef5.;
   put amount eurfrbef9.2;
   datalines; 
50 
5234.56  
52345 
;
run;
8       put amount eurfrbef5.;
9       put amount eurfrbef9.2;
10      datalines;
   E1
    E1,24
 E130
  E129,76
1.298
E1.297,60
Amounts
Statements
Results
 
 
----+----1----2
50
put amount eurfrbef5.;
put amount eurfrbef9.2;
   E1
    E1,24
5234.56
put amount eurfrbef5.;
put amount eurfrbef9.2; 
 E130
  E129,76
52345
put amount eurfrbef5.;
put amount eurfrbef9.2;
1.298
E1.297,60