Subject | Re: [firebird-support] MOD question |
---|---|
Author | Gabor Boros |
Post date | 2009-11-09T20:17:28Z |
Hi,
No way. MOD is working with integers.
http://www.firebirdsql.org/refdocs/langrefupd21-intfunc-mod.html
Gabor
ionutz gorea írta:
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