EURTOCZKw.d Format

Converts an amount from euros to Czech koruny.
Category: Currency Conversion
Alignment: right

Syntax

EURTOCZKw.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 EURTOCZKw.d format converts an amount in euros to an amount in Czech koruny. The conversion rate is a changeable rate that is incorporated into the EURTOCZKw.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 Czech koruny.
data _null_; 
   input amount;    
   put amount eurtoczk6.;
   put amount eurtoczk12.2;
   datalines; 
1  
1234.56  
12345 
;
run;
SAS log:
104     put amount eurtoczk6.;
105     put amount eurtoczk12.2;
106     datalines;
    35
       34.86
 43032
    43032.19
430301
   430301.02
Amounts
Statements
Results
 
 
----+----1----2
1
put amount eurtoczk6.;
put amount eurtoczk12.2;
    35
       34.86
1234.56
put amount eurtoczk6.;
put amount eurtoczk12.2; 
 43032
    43032.19
12345
put amount eurtoczk6.;
put amount eurtoczk12.2;
430301
   430301.02