EURFRLUFw.d Format

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

Syntax

EURFRLUFw.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 EURFRLUFw.d format converts an amount from Luxembourg francs to an amount in euros and produces a formatted euro value. The conversion rate is a fixed rate that is incorporated into the EURFRLUFw.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 Luxembourg francs, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrluf5.;
   put amount eurfrluf9.2;
   datalines; 
50  
1234.56  
12345 
;
run;
8       put amount eurfrluf5.;
9       put amount eurfrluf9.2;
10      datalines;
   E1
    E1,24
  E31
   E30,60
 E306
  E306,02
Amounts
Statements
Results
 
 
----+----1----2
50
put amount eurfrluf5.;
put amount eurfrluf9.2;
   E1
    E1,24
1234.56
put amount eurfrluf5.;
put amount eurfrluf9.2; 
  E31
   E30,60
12345
put amount eurfrluf5.;
put amount eurfrluf9.2;
 E306
  E306,02