Previous Page | Next Page

Informats for NLS

NLMNLUSDw.d Informat



Reads the monetary format of the local expression for Puerto Rico, and the United States.
Category: Numeric
Alignment: left

Syntax
Syntax Description
Examples
See Also

Syntax

NLMNLUSDw.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)',nlmnlusd32.2);
y=input'($12,345.67)'dollar32.2);

Statements Results

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

put y=;
-12345.67 

-12345.67


See Also

Formats:

NLMNLUSDw.d Format

Previous Page | Next Page | Top of Page