GUI ScreenIO for Windows

 ScreenIO.com


Numeric Edit Controls

The numeric field type is used for quantitative numbers; things such as amounts, currency, that sort of thing. 

The panel editor automatically generates the correct PICTURE clause according to your field specifications.  

Complete the other properties for this control, and you're done.

Your field definition will look like this in the panel copybook:

05 MY-NUMERIC-FIELD  PIC S9(5)V9(2) VALUE 100.23.

Non-quantitative numeric data

Numeric edit controls should not be used for non-quantitative numeric items like telephone numbers, Zip codes, credit card numbers, and similar items where the number does not represent a quantity. 

Use the symbolic-numeric field type for that purpose.  Unlike the numeric field type, symbolic-numeric fields support user-defined masking for formatting non-quantitative numbers.

Related topics:


© 2000-2019 Norcom, all rights reserved 

TOC

Send feedback to Norcom