meta data for this page
  •  

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'