By default, leading zeros are not displayed when you use an edit
mask, but you can change that by adding LZ to your formatting items
as in the second ON field,
as follows:
HEADER('No leading zeros','(without LZ)') ON(28,6,PD,E1) -
HEADER('Leading zeros','(with LZ)') ON(28,6,PD,E1,LZ)
The resulting report shows the difference in the way the Profit
values from SORT.BRANCH are displayed with the E1 edit mask and without
and with
LZ. Note the use of HEADER('string1','string2') to produce
a two line heading.No leading zeros Leading zeros
(without LZ) (with LZ)
---------------- ----------------
(4,278) (00,000,004,278)
6,832 00,000,006,832
(2,863) (00,000,002,863)
8,276 00,000,008,276
(978) (00,000,000,978)
6,288 00,000,006,288
7,351 00,000,007,351
3,271 00,000,003,271
5,027 00,000,005,027
8,264 00,000,008,264
8,275 00,000,008,275
5,200 00,000,005,200