EURFRATSw.d Format

Converts an amount from Austrian schillings to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRATSw.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 EURFRATS w.d format converts an amount from Austrian schillings to an amount in euros and produces a formatted euro value. The conversion rate is a fixed rate that is incorporated into the EURFRATSw.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 Austrian schillings, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrats5.;
   put amount eurfrats9.2;
   datalines; 
50 
5234.56  
52345 
;
run;
   E4
    E3,63
 E380
  E380,41
3.804
E3.804,06
Amounts
Statements
Results
 
 
----+----1----2
50
put amount eurfrats5.;
put amount eurfrats9.2;
   E4
    E3,63
5234.56
put amount eurfrats5.;
put amount eurfrats9.2; 
 E380
  E380,41
52345
put amount eurfrats5.;
put amount eurfrats9.2;
3.804
E3.804,06