Subject Re: [firebird-support] CAST(var1 AS NUMERIC(18,:variable));
Author Milan Babuskov
Luis Madaleno wrote:
> I need to use the CAST() function to emulate a ROUND, but the decimal
> places I want are not fix, they are based on a field value.

ROUND UDF is available in rFunc library:

http://rfunc.sourceforge.net/


--
Milan Babuskov
http://swoes.blogspot.com/
http://www.flamerobin.org