Previous Page | Next Page

Informats for NLS

NLMNLCHFw.d Informat



Reads the monetary format of the local expression for Liechtenstein and Switzerland.
Category: Numeric
Alignment: left

Syntax
Syntax Description
Examples
See Also

Syntax

NLMNLCHFw.d


Syntax Description

w

specifies the width of the output field.

Default: 9
Range: 1-32
d

optionally specifies to divide the number by 10d. If the data contains decimal points, the d value is ignored.

Default: 0
Range: 0-31

Examples

In the following example, the LOCALE= system option is set to English_UnitedStates.

x=input'($12,345.67)',nlmnlchf32.2);
y=input'($12,345.67)'dollar32.2);

Statements Results

----+----1----+
put x=;

put y=;
-12345.67 

-12345.67


See Also

Formats:

NLMNLCHFw.d Format

Previous Page | Next Page | Top of Page