Format names consist of three parts, each separated by underscores. String formats contain the first and second parts of the name, while currency and integer formats may contain all three, where appropriate. If any abbreviation does not appear in the name, the type of information it corresponds to isn’t applicable to the format:
Name |
Format type |
Example |
---|---|---|
INT |
Integer |
INT_RB3_UT% |
STR |
String |
STR_LBAU |
DLR |
Currency |
DLR_LB0_UTR$ |
CP |
Composite |
CP_Account_Number |
The second part of the name indicates the format’s alignment, fill, decimal digits and whether it’s numeric, alphanumeric or uppercase:
Name |
Definition |
Example |
---|---|---|
L, R |
Left or right alignment |
INT_RB3_UT% |
*, B, Z |
Fill character – asterisk, blank or zero |
STR_LBAU |
N, A |
Numeric or alphanumeric |
STR255_LBA |
U |
Uppercase |
STR_LBAU |
# |
Number of decimal digits |
INT4_2% |
$ |
The currency symbol is to be shown |
DLR19_U2$ |
% |
The percent symbol is to be shown |
DLR4_%2 |
The last part of the name is used only with integer or currency control types. It indicates whether the format is signed or unsigned, if it shows the thousands separator or not, its relative decimal position and if it uses the currency symbol or the percent sign:
Name |
Definition |
Example |
---|---|---|
U, S |
Signed or unsigned |
INT2_R2N0_U% |
R |
Relative decimal position is used |
DLR_LB0_UTR$ |
% |
Percent symbol is to be shown |
INT2_R2N0_U% |
T |
Thousands separator |
DLR_LB0_UTR$ |
# |
Number of decimal digits |
INT4_2% |
$ |
The currency symbol is to be shown |
DLR19_U2$ |