meta data for this page
  •  

F_INTTOSTR

input/output-compatibility to rFunc (INTTOSTR)

Entrypoint inttostr compatible with UTF-8


Inputs/Outputs

 Input       INTEGER          integer number to display
             CSTRING(254)     format of integer equal to C-function sprintf
 Output      CSTRING(254)     formated number as string

Syntax

 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;