EURTOPLZw.d Format

Converts an amount from euros to Polish zloty.
Category: Currency Conversion
Alignment: right

Syntax

EURTOPLZw.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 EURTOPLZw.d format converts an amount in euros to an amount in Polish zloty. The conversion rate is a changeable rate that is incorporated into the EURTOPLZw.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 Polish zloty.
data _null_; 
   input amount;    
   put amount eurtoplz6.;
   put amount eurtoplz12.2;
   datalines; 
1  
1234.56  
12345 
;
run;
SAS log:
80      put amount eurtoplz6.;
81      put amount eurtoplz12.2;
82      datalines;
     4
        4.20
  5185
     5185.15
 51849
    51849.00
Amounts
Statements
Results
 
 
----+----1----2
1
put amount eurtoplz6.;
put amount eurtoplz12.2;
     4
        4.20
1234.56
put amount eurtoplz6.;
put amount eurtoplz12.2; 
  5185
     5185.15
12345
put amount eurtoplz6.;
put amount eurtoplz12.2;
 51849
    51849.00