Firebird Documentation IndexFirebird 2.1 Language Ref. UpdateExternal functions (UDFs) → mod
Firebird Home Firebird Home Prev: ltrimFirebird Documentation IndexUp: External functions (UDFs)Next: *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'
Prev: ltrimFirebird Documentation IndexUp: External functions (UDFs)Next: *nullif
Firebird Documentation IndexFirebird 2.1 Language Ref. UpdateExternal functions (UDFs) → mod