01.09.2021 09:29, Molnár Attila wrote:
In dialect 3 you have to cast to double always for not to loose precision.
I believe you may avoid the casts if you store everything as NUMERIC inside the db, but your procedures use DOUBLE (or better DECFLOAT) for inputs/outputs/locals.
Dmitry Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel