EURFRRURw.d Format

Converts an amount from Russian rubles to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRRURw.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 EURFRRURw.d format converts an amount from Russian rubles to an amount in euros and produces a formatted euro value. The conversion rate is a changeable rate that is incorporated into the EURFRRURw.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 Russian rubles, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrrur5.;
   put amount eurfrrur9.2; 
   datalines; 
50  
5234.56  
52345 
;
run;
   E3
    E2,53
 E265
  E264,80
2.648
E2.647,97
Amounts
Statements
Results
 
 
----+----1----2
50
put amount eurfrrur5.;
put amount eurfrrur9.2;
   E3
    E2,53
5234.56
put amount eurfrrur5.;
put amount eurfrrur9.2; 
 E265
  E264,80
52345
put amount eurfrrur5.;
put amount eurfrrur9.2;
2.648
E2.647,97