Subject Re: [firebird-support] Re: Round values in stored procedure
Author Fabio Gomes
I dont know if i cast would do, i m really new to firebird.. what i m doing
is just a simple calculation using some numeric(14,4) fields, i just need
the values to be correct, i dont care what to use, i ll calc something like
this:

(value1 * value2) + (value3 * value2) / (value4 + value2)

i just need it to be decimal in the end, they are all decimal values anyway.



On 8/7/06, Dimitry Sibiryakov <SD@...> wrote:
>
> On 7 Aug 2006 at 9:10, Fabio Gomes wrote:
>
> >Anyway, how do i use the round udf, i read that firebird has a round
> >udf, but i couldnt find how to use it anywhere.
>
> As any other UDF. But may be a simple CAST() is enough for you?..
>
> --
> SY, Dimitry Sibiryakov.
>
>
>


[Non-text portions of this message have been removed]