NLMNICHFw.d Informat

Reads the monetary format of the international expression for Liechtenstein and Switzerland.

Categories:CAS
Numeric
Alignment:Left
Note: Beginning in 2025.12, this informat supports the BIGINT data type when run in the DS2 language. Set BIGINTPROCESSING=YES to ensure that large integer values—stored as BIGINT—are displayed with full precision, up to 19 digits, without rounding or truncation. BIGINTPROCESSING=YES is recommended for large values that exceed 15–16 digits.

Syntax

NLMNICHFw.d

Syntax Description

w

specifies the width of the input field.

Default12
Range8–32

d

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

Default2
Range0–28

Example

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

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

Statements

Results

----+----1----+
put x=;
put y=;
-12345.67 
-12345.67

See Also

Last updated: September 15, 2026