Subject Re: [firebird-support] Round() returning NULL
Author Ivan Prenosil
> 2) Look at the arguments in your declaration.
> >The UDF is declared as:
> >declare external function Round
> > int by descriptor, <------ input 1: number to be rounded
> > int by descriptor
> > returns parameter 2
> > entry_point 'fbround' module_name 'fbudf';
> You are getting null because you are passing a double precision number to

Note that looking at arguments does not tell you what datatypes
are supported by udf if "by descriptor" is specified.
It is possible to extend Round() to support double precision input,
and the declaration will remain unchanged.