Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Navigation: Subroutines > INFLD > INFLD Parameters > type

Numeric Formatting Codes

Scroll Prev Top Next More

Except for  -  (hyphen) and  .  (period), the formatting and miscellaneous codes do not affect the characters which can be entered; rather, they only affect the way the characters are formatted. Note that unless otherwise indicated, formatting codes only affect the way a field is displayed on the screen and not how it is returned to the calling program.

Value

Description

|#

(bar hash) Disables the automatic display of "0" in a numeric field when nothing entered.

-

(hyphen) Allow Minus Sign.

.

(period) Allow Decimal Point.

$

(dollar sign) Currency field.

G

May be useful for aligning decimal points in column of variable precision numbers.

H

Hours field. Like $ but omits the "$" from the display.

M

Thousands Separator.

R

Right Justify Field.

u

LDF-Related Codes.

v

Value Range Checking.

Z

Zero Fill.