round UDF function sometimes return wrong result for positive
-------------------------------------------------------------
Key: CORE-6098
URL: http://tracker.firebirdsql.org/browse/CORE-6098
Project: Firebird Core
Issue Type: Bug
Components: UDF
Affects Versions: 2.5.7
Reporter: Alisa
select
662.01 * 100.00 / 120.00,
round(662.01 * 100 / 120, 2),
rf2_round(662.01 * 100 / 120, 2)
from rdb$database
--- result is:
551,675; 551,67; 551,68
round - internal udf,
rf2_round - rfunc udf round
internal udf round take wrong result, dialect 1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel