Previous Page | Next Page

Formats for NLS

EUROw.d Format



Writes numeric values with a leading euro symbol (E), a comma that separates every three digits, and a period that separates the decimal fraction.
Category: Numeric
Alignment: right

Syntax
Syntax Description
Comparisons
Examples
See Also

Syntax

EUROw.d


Syntax Description

w

specifies the width of the output field.

Default: 6
Range: 1-32
Tip: If you want the euro symbol to be part of the output, be sure to choose an adequate width. See Examples.
d

specifies the number of digits to the right of the decimal point in the numeric value.

Default: 0
Range: 0-31
Requirement: must be less than w

Comparisons


Examples

These examples use 1254.71 as the value of amount.

Statements Results

----+----1----+----2----+----3
put amount euro10.2;
 E1,254.71
put amount euro5.; 
1,255
put amount euro9.2;
E1,254.71
put amount euro15.3;
     E1,254.710


See Also

Formats:

EUROXw.d Format

Informats:

EUROw.d Informat

EUROXw.d Informat

Previous Page | Next Page | Top of Page