Previous Topic: SignificanceNext Topic: Numeric/Text (Picture)


Algebraic Notation Rules

When the input of a numeric field cannot be matched to the supplied edit pattern pictures (positive, negative, or zero), then standard algebraic and quantity notation is attempted as a last course of action. If this fails, then the string is marked as error, and the user is prompted to specify the value again.

The following list shows the rules for interpretation of an input value that does not match any pattern:

The following table shows how the system interprets data that does not match a supplied pattern. The table shows various positive, negative, and zero edit pattern pictures. For each pattern, the table shows which pattern is matched, its variable width and decimal digits (w,d), and the resulting value extracted.

User Input

Positive Picture

Negative Picture

Zero Picture

Match

Variable (w,d)

Value

+123

+ZZ9

-ZZ9

N/A

Positive

(5,0)

00123

123

ZZ9

N/A

N/A

Positive

(5,0)

00123

1.23

ZZ9.99

-ZZ9.99

-0-

Positive

(5,2)

001.23

-0-

ZZ9.99

-ZZ9.99

-0-

Zero

(5,2)

000.00

-12

ZZ9.99

-ZZ9.99

-0-

None

(5,2)

-012.00

-12

ZZZ.ZZ9

-ZZZ,ZZ9

N/A

Negative

(5,2)

-012.00