Subject | Re: Modulus Command |
---|---|
Author | apatri2000 |
Post date | 2002-03-28T13:33:57Z |
--- In ib-support@y..., "csswa" <csswa@y...> wrote:
Tony
> 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).
>
> Regards,
> Andrew Ferguson
>
Tony
>MODULUS.
> --- 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