Subject | Doubts about function in fbudf.so |
---|---|
Author | fabiano_bonin |
Post date | 2003-12-11T11:28:21Z |
After run fbudf.sql, i am trying to use the Round and Truncate
functions, without success.
Looking at declaration, i see the two parameters of both function as
integers. Is it right? I was expecting to round and truncate double
precision values.
Thanks.
--FBUDF_API paramdsc* fbround(paramdsc* v, paramdsc* rc)
declare external function Round
int by descriptor, int by descriptor
returns parameter 2
entry_point 'fbround' module_name 'fbudf';
--FBUDF_API paramdsc* fbtruncate(paramdsc* v, paramdsc* rc)
declare external function Truncate
int by descriptor, int by descriptor
returns parameter 2
entry_point 'fbtruncate' module_name 'fbudf';
functions, without success.
Looking at declaration, i see the two parameters of both function as
integers. Is it right? I was expecting to round and truncate double
precision values.
Thanks.
--FBUDF_API paramdsc* fbround(paramdsc* v, paramdsc* rc)
declare external function Round
int by descriptor, int by descriptor
returns parameter 2
entry_point 'fbround' module_name 'fbudf';
--FBUDF_API paramdsc* fbtruncate(paramdsc* v, paramdsc* rc)
declare external function Truncate
int by descriptor, int by descriptor
returns parameter 2
entry_point 'fbtruncate' module_name 'fbudf';