Subject mod function
why the mod function of udf library return a double precision value?

If mod is a remainder of 2 integer numbers, the result will be always
a integer number.