The
sign property
indicates how to format a field to indicate that a numeric value is positive
or negative. The property is meaningful whether the value is from user input
or from EGL-generated code, and valid values are as follows:
- leading (the default value)
- A sign is displayed to the left of the first digit in the number, with
the exact position of the sign determined by the zeroFormat property
(unless the primitive type for the field is MONEY)
- trailing
- A sign is displayed immediately to the right of the last digit in the
number
- none
- A sign is not displayed
- parens
- A negative number is displayed as a positive number within parentheses,
as appropriate when the field contains a monetary value in an accounting application