Subject Re: [firebird-support] MOD question
Author Gabor Boros
Hi,

No way. MOD is working with integers.

http://www.firebirdsql.org/refdocs/langrefupd21-intfunc-mod.html

Gabor

ionutz gorea írta:
> Hi,
>
> What's the "easiest way" to get the correct result for MOD(5.3, 2.0) from a Firebird 2.1?
>
> select mod(5.3, 2.0) from rdb$database returns 1 instead of 1.3
>
> Thanks
>
> Ionutz