Subject | Re: Round values in stored procedure |
---|---|
Author | Adam |
Post date | 2006-08-07T23:22:05Z |
--- In firebird-support@yahoogroups.com, "Fabio Gomes" <fabioxgn@...>
wrote:
Cast((value1 * value2) + (value3 * value2) / (value4 + value2) as
Numeric(14,2))
Adam
wrote:
>m doing
> I dont know if i cast would do, i m really new to firebird.. what i
> is just a simple calculation using some numeric(14,4) fields, i justneed
> the values to be correct, i dont care what to use, i ll calcsomething like
> this:Try:
>
Cast((value1 * value2) + (value3 * value2) / (value4 + value2) as
Numeric(14,2))
Adam