EURTOHUFw.d Format
Converts an amount from euros to Hungarian forints.
Category: |
Currency Conversion |
Alignment: |
right |
Syntax
Syntax Description
- w
-
specifies the width
of the output field.
- d
-
specifies the number
of digits to the right of the decimal point in the numeric value.
Details
The EURTOHUF
w.
d format
converts an amount in euros to an amount in Hungarian forints. The
conversion rate is a changeable rate that is incorporated into the
EURTOHUF
w.
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 Hungarian forints.
data _null_;
input amount;
put amount eurtohuf8.;
put amount eurtohuf14.2;
datalines;
1
1234.56
12345
;
run;
SAS log:
140 put amount eurtohuf8.;
141 put amount eurtohuf14.2;
142 datalines;
260
260.33
321387
321386.83
3213712
3213712.13