Inconsistency of formatting double precision values between linux and windows -----------------------------------------------------------------------------
Key: CORE-5665 URL: http://tracker.firebirdsql.org/browse/CORE-5665 Project: Firebird Core Issue Type: Bug Components: ISQL Affects Versions: 3.0.2 Reporter: Artyom Smirnov Priority: Minor Also probably inconsistency of formatting values in range -1 < 0 < 1. Padding zeros not always rendered right. set list; select char_length(cast(cast(0 as double precision) as varchar(20))), char_length(cast(cast(0.1 as double precision) as varchar(20))), char_length(cast(cast(1 as double precision) as varchar(20))), char_length(cast(cast(1.1 as double precision) as varchar(20))) from rdb$database; on linux result is: CHAR_LENGTH 17 CHAR_LENGTH 18 CHAR_LENGTH 17 CHAR_LENGTH 17 on windows result is: CHAR_LENGTH 18 CHAR_LENGTH 18 CHAR_LENGTH 17 CHAR_LENGTH 17 -- 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 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel