zeroFormat

The zeroFormat property specifies how zero values are displayed in numeric fields (except in MONEY fields). This property is affected by the numeric separator, currency, and fillCharacter properties. The values of zeroFormat are as follows:
yes
A zero value is displayed as the number zero, which can be expressed with decimal points (0.00 is an example, if the field is defined with two decimal places) and with currency symbols and character separators ($000,000.00 is an example, depending on the values of the currency and numericSeparator properties). The following rules apply when the value of the zeroFormat property is yes:
  • If the fill character (the value of the fillCharacter property) is 0, the data is formatted with the character 0
  • If the fill character is a null, the data is left-justified
  • If the fill character is a blank, the data is right-justified
  • If the fill character is an asterisk (*), asterisks are used as the left-side fillers instead of blanks
no
A zero value is displayed as a series of fill characters. This is the default.

Compatibility

Table 1. Support for zeroFormat property
Data item JSF handler VGUI record Console UI Text Form Java™ Text Form COBOL Print Form Java Print Form COBOL
Yes Yes Yes No Yes Yes Yes Yes

Feedback