EURFRCHFw.d Format
Converts an amount from Swiss francs to euros.
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 EURFRCHF
w.
d format
converts an amount from Swiss francs to an amount in euros and produces
a formatted euro value. The conversion rate is a changeable rate that
is incorporated into the EURFRCHF
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 Swiss francs, SAS statements, and the conversion
results in euros.
data _null_;
input amount;
put amount eurfrchf5.;
put amount eurfrchf9.2;
datalines;
50
1234.56
12345
;
run;
SAS Log:
3 put amount eurfrchf5.;
4 put amount eurfrchf9.2;
5 datalines;
E31
E31,17
E770
E769,53
7.695
E7.694,94