EURFRYUDw.d Format

Converts an amount from Yugoslavian dinars to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRYUDw.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 EURFRYUDw.d format converts an amount from Yugoslavian dinars to an amount in euros and produces a formatted euro value. The conversion rate is a changeable rate that is incorporated into the EURFRYUDw.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 Yugoslavian dinars, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfryud5.;
   put amount eurfryud9.2; 
   datalines; 
50  
5234.56  
52345 
;
run;
   E4
    E3,83
 E401
  E400,67
4.007
E4.006,69
Amounts
Statements
Results
 
 
----+----1----2
50
put amount eurfryud5.;
put amount eurfryud9.2;
   E4
    E3,83
5234.56
put amount eurfryud5.;
put amount eurfryud9.2; 
 E401
  E400,67
52345
put amount eurfryud5.;
put amount eurfryud9.2;
4.007
E4.006,69