Subject | CORRECTION Re: [firebird-support] formatting a number |
---|---|
Author | Helen Borrie |
Post date | 2005-04-27T10:53:56Z |
Oh the woes of lifting sidenotes!!
PADDED_STRING = CAST(YourInteger AS CHAR(10));
WHILE (NOT (PADDED_STRING LIKE '__________%'))
DO
PADDED_STRING = '0'||ID_AS_STRING;
/* :-( */
./heLen
PADDED_STRING = CAST(YourInteger AS CHAR(10));
WHILE (NOT (PADDED_STRING LIKE '__________%'))
DO
PADDED_STRING = '0'||ID_AS_STRING;
/* :-( */
./heLen