Subject | Re: Doubts about function in fbudf.so |
---|---|
Author | fabiano_bonin |
Post date | 2003-12-11T12:08:03Z |
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>
wrote:
Is it Linux/Windows compatible?
wrote:
> > Now i see they are working. I made a mistake when testing. I wasnumber
> > using truncate(2.111, 2), thinking the function have a second
> > parameter to specify the precision.
> >
> > Just for curiosity, how do you truncate numbers to a specif
> > of decimal digits?Where can i download it?
> >
> > Something like this?
> > cast(truncate(2.111 * 100) as double precision) / 100
> >
>
> There's an F_FIXEDPOINT UDF to do this
> Alan
Is it Linux/Windows compatible?