RPG/400 Help

Position 52 (Decimal Positions)

Entry
Explanation
Blank
The result field is character data or has been defined elsewhere in the program.
0-9
Number of decimal positions in a numeric result field.

Position 52 indicates the number of positions to the right of the decimal in a numeric result field. If the numeric result field contains no decimal positions, enter a '0' (zero). This position must be blank if the result field is character data. This position can be left blank if the result field is numeric but was described by input or calculation specifications or in an external description. In this case, field length (positions 49 through 51) must also be left blank. The number of decimal positions specified cannot exceed the length of the field.


[ Top of Page | Previous Page | Next Page | Table of Contents ]