|Subject||Re: Modulus Command|
--- In ib-support@y..., "csswa" <csswa@y...> wrote:
> Add this udf declaration to your db...Great Thanks, Andrew.
> DECLARE EXTERNAL FUNCTION mod
> INTEGER, INTEGER
> RETURNS DOUBLE PRECISION BY VALUE
> ENTRY_POINT 'IB_UDF_mod' MODULE_NAME 'ib_udf';
> (ib_udf.dll should be in your installation 'udf' folder) and from
> then on call it e.g. with mod(foo_field1, foo_field2) or in your
> example mod(200, 60).
> Andrew Ferguson
> --- In ib-support@y..., "apatri2000" <apatri@i...> wrote:
> > Hi All.
> > I'd like to know what is the Firebird's command to perform
> > Eg: 200 modulus 60 = 20.
> > TIA
> > Tony