EURFRPTEw.d Format

Converts an amount from Portuguese escudos to euros.
Category: Currency Conversion
Alignment: right

Syntax

EURFRPTEw.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 EURFRPTEw.d format converts an amount from Portuguese escudos to an amount in euros and produces a formatted euro value. The conversion rate is a fixed rate that is incorporated into the EURFRPTEw.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 Portuguese escudos, SAS statements, and the conversion results in euros.
data _null_; 
   input amount;    
   put amount eurfrpte5.;
   put amount eurfrpte9.2;
   datalines; 
300  
30234.56  
302345 
;
run;
8       put amount eurfrpte5.;
9       put amount eurfrpte9.2;
10      datalines;
   E1
    E1,50
 E151
  E150,81
1.508
E1.508,09
Amounts
Statements
Results
 
 
----+----1----2
300
put amount eurfrpte5.;
put amount eurfrpte9.2;
   E1
    E1,50
30234.56
put amount eurfrpte5.;
put amount eurfrpte9.2; 
 E151
  E150,81
302345
put amount eurfrpte5.;
put amount eurfrpte9.2;
1.508
E1.508,09