EURFRHUFw.d Format

Converts an amount from Hungarian forints to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRHUFw.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 EURFRHUFw.d format converts an amount from Hungarian forints to an amount in euros and produces a formatted euro value. The conversion rate is a changeable rate that is incorporated into the EURFRHUFw.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 Hungarian forints, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrhuf5.;
   put amount eurfrhuf9.2; 
   datalines; 
300  
30234.56  
302345 
;
run;
SAS log:
3      put amount eurfrhuf5.;
4      put amount eurfrhuf9.2;
5      datalines;
   E1
    E1,15
 E116
  E116,14
1.161
E1.161,41
Amounts
Statements
Results
 
 
----+----1----2
300
put amount eurfrhuf5.;
put amount eurfrhuf9.2;
   E1
    E1,15
30234.56
put amount eurfrhuf5.;
put amount eurfrhuf9.2; 
 E116
  E116,14
302345
put amount eurfrhuf5.;
put amount eurfrhuf9.2;
1.161
E1.161,41