isDecimalDigit

The isDecimalDigit verification property determines whether to check that the input value includes only valid decimal digits, which may be any of the following characters:
  • Numeric characters 0-9
  • A negative sign (-)

Valid values are NO (the default) and YES.

This property applies only to character fields.

If you want to allow more characters such as the decimal character (a period or a comma) and the separator character (a comma or a period) as the input value, use one of the following ways:
  • Specify the field type as NUM rather than char;
  • Ensure that the isDecimalDigit = YES form field is ignored. To ignore that field, set the symbolic parameter IGNOREISDECIMALFORCHARFIELD to YES.

Compatibility

Table 1. Support for isDecimalDigit property
Data item VGUI record Console UI Text Form Java Text Form COBOL Print Form Java Print Form COBOL
Yes No No Yes Yes No No