Previous Page | Next Page

Additional NLS Language Elements

EURFRESPw.d Format



Converts an amount from Spanish pesetas to euros.
Category: Currency Conversion
Alignment: right

Syntax
Syntax Description
Details
Examples
See Also

Syntax

EURFRESPw.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 EURFRESPw.d format converts an amount from Spanish pesetas to an amount in euros and produces a formatted euro value. The conversion rate is a fixed rate that is incorporated into the EURFRESPw.d format and the EUROCURR function. For more information about European currency conversion and currency conversion rate tables, see European Currency Conversion.


Examples

The following table shows input values in Spanish pesetas, SAS statements, and the conversion results in euros.

Amounts Statements Results
 
 
----+----1----2
200
put amount eurfresp5.;

put amount eurfresp9.2;
   E1

    E1,20
20234.56
put amount eurfresp5.;

put amount eurfresp9.2; 
 E122

  E121,61
202345
put amount eurfresp5.;

put amount eurfresp9.2;
1.216

E1.216,12


See Also

Formats:

EURTOESPw.d Format

Functions:

EUROCURR Function

Previous Page | Next Page | Top of Page