EURTOYUDw.d Format

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

Syntax

EURTOYUDw.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 EURTOYUDw.d format converts an amount in euros to an amount in Yugoslavian dinars. The conversion rate is a changeable rate that is incorporated into the EURTOYUDw.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 euros, SAS statements, and the conversion results in Yugoslavian dinars.
data _null_; 
   input amount;    
   put amount eurtoyud6.;
   put amount eurtoyud12.2;
   datalines; 
1  
1234.56  
12345 
;
run;
SAS log:
116     put amount eurtoyud6.;
117     put amount eurtoyud12.2;
118     datalines;
    13
       13.06
 16129
    16128.79
161280
   161280.02
Amounts
Statements
Results
 
 
----+----1----2
1
put amount eurtoyud6.;
put amount eurtoyud12.2;
    13
       13.06
1234.56
put amount eurtoyud6.;
put amount eurtoyud12.2; 
 16129
    16128.79
12345
put amount eurtoyud6.;
put amount eurtoyud12.2;
161280
   161280.02