EURTONOKw.d Format

Converts an amount from euros to Norwegian krone.
Category: Currency Conversion
Alignment: right

Syntax

EURTONOKw.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 EURTONOKw.d format converts an amount in euros to an amount in Norwegian krone. The conversion rate is a changeable rate that is incorporated into the EURTONOKw.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 Norwegian krone.
data _null_; 
   input amount;    
   put amount eurtonok6.;
   put amount eurtonok12.2;
   datalines; 
1  
1234.56  
12345 
;
run;
SAS log:
158     put amount eurtonok6.;
159     put amount eurtonok12.2;
160     datalines;
     9
        9.20
 11355
    11355.11
113546
   113545.61
Amounts
Statements
Results
  
  
----+----1----2
1
put amount eurtonok6.;
put amount eurtonok12.2;
     9
        9.20
1234.56
put amount eurtonok6.;
put amount eurtonok12.2; 
 11355
    11355.11
12345
put amount eurtonok6.;
put amount eurtonok12.2;
113546
   113545.61