Subject Re: [ib-support] Arithmatic Operator
Author Ali
Hi,

here is a shortcut:
n1 mod n2 = n1- (( n1/n2) * n2)

example:
13 mod 2 = 13 - (13/2=6)* 2 = 13-12 = 1

Regards,

Ali
<rsastroprawiro@...> wrote in message news:b1sj2a+ngjk@......
> Dear All,
>
> Is the mod operator in Firebird ? example 10 mod 2 = 0
>
>
> Thanks,
> Diko
>