meta data for this page
  •  

F_EQUALINTIGER

compatibility FreeUDFLib AvERP, GrUDF

input/output-compatibility to rFunc (IEQUAL)

Entrypoint equalinteger compatible with UTF-8


Inputs/Outputs

   Input      INTEGER     integer 1
              INTEGER     integer 2
   Output     INTEGER     1 =is equal, 0 = is not equal

Syntax

   If a floatingpoint is used as input, it will be truncated first to integer and than tested!
   TestSQL
   SELECT 1 AS ISCORRECT, F_EQUALINTEGER(14, 14) FROM RDB$DATABASE;
   SELECT 0 AS ISCORRECT, F_EQUALINTEGER(14, 15) FROM RDB$DATABASE;
   SELECT 1 AS ISCORRECT, F_EQUALINTEGER(14, 14.49) FROM RDB$DATABASE;
   SELECT NULL AS ISCORRECT, F_EQUALINTEGER(NULL, NULL) FROM RDB$DATABASE;