Casting text to integer fails if text is within range but more than nine digits -------------------------------------------------------------------------------
Key: CORE-5151 URL: http://tracker.firebirdsql.org/browse/CORE-5151 Project: Firebird Core Issue Type: Bug Affects Versions: 2.5.5 Reporter: Firebird admin @ RxStrategies Inc Production code fails when assigning a text value to DECIMAL(9,2). Example below uses integer for simplicity. /* numeric value is out of range */ select cast('25992.90000' as integer) from rdb$database /* works */ select cast('25992.9000' as integer) from rdb$database -- 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 ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel