[fpc-devel] Format with zero padding

Micha Nelissen micha at neli.hopto.org
Tue Jun 20 12:44:55 CEST 2006


Hi,

How can I zero-pad using Format ? In C, using printf it's done using an
extra 0 digit in for the width: '%04d' with parameter 3 will print
'0003'. Wouldn't this be useful for FPC's Format as well, or is there
another way ?

Micha



More information about the fpc-devel mailing list