sign
The sign property tells EGL how 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
Compatibility
| Data item | VGUI record | Console UI | Text Form Java™ | Text Form COBOL | Print Form Java™ | Print Form COBOL |
|---|---|---|---|---|---|---|
| Yes | Yes | Yes | Yes | Yes* | Yes | Yes* |
* The following additional compatibility considerations apply:
| Platform | Issue |
|---|---|
| COBOL generation | The parens option is not supported. |