Entrypoint inttostr compatible with UTF-8
Input INTEGER integer number to display CSTRING(254) format of integer equal to C-function sprintf Output CSTRING(254) formated number as string
TestSQL SELECT '0000000013' AS ISCORRECT, F_INTTOSTR(13, '%010d') FROM RDB$DATABASE; SELECT '0xd' AS ISCORRECT, F_INTTOSTR(13, '%#x') FROM RDB$DATABASE; SELECT NULL AS ISCORRECT, F_INTTOSTR(NULL, NULL) FROM RDB$DATABASE;