mod

<< ltrim | FB 2.5 Language Reference | *nullif >>
<< ltrim | FB 2.1 Language Reference | *nullif >>

mod

Library: ib_udf

Added in: IB

Better alternative: Internal function MOD()

Description

Returns the remainder of an integer division.

Result type: DOUBLE PRECISION

Syntax

 mod (a, b)

Declaration

 DECLARE EXTERNAL FUNCTION mod
   INTEGER, INTEGER
   RETURNS DOUBLE PRECISION BY VALUE
   ENTRY_POINT 'IB_UDF_mod' MODULE_NAME 'ib_udf'

back to top of page
<< ltrim | FB 2.5 Language Reference | *nullif >>
<< ltrim | FB 2.1 Language Reference | *nullif >>