Subject | Re: Round values in stored procedure |
---|---|
Author | Adam |
Post date | 2006-08-07T11:55:07Z |
--- In firebird-support@yahoogroups.com, "Fabio Gomes" <fabioxgn@...>
wrote:
or Multiply it by 100, cast as integer, then divide it by 100.0 should
work in straight PSQL.
Adam
wrote:
>With a UDF
> Hi all,
>
> Is there a way to round values in a stored procedure? i have to make
> some calculations to update some tables.. and i would like to round
> the values to 2 or 4 decimals.
>
> How can i do it?
>
or Multiply it by 100, cast as integer, then divide it by 100.0 should
work in straight PSQL.
Adam