Menu

#40 [Perl]Result of SELECT 4 + '5.2' will be round

open
nobody
None
5
2011-12-27
2011-12-27
Jira Trac
No

Test Build:CUBRID 2008 R4.0 (8.4.0.2019) (64bit release build for linux_gnu)
OS: Linux 64
Description: Result of SELECT 4 + '5.2' will be round

Repro Steps:
{noformat}
perl simple_execute_01.pl
{noformat}

Actual result
{noformat}
not ok 3 - value3 ok
# Failed test 'value3 ok'
# at simple_execute_01.pl line 46.
row_ref3 is 9
# Looks like you failed 1 test of 3.
{noformat}

Expect result
{noformat}
csql SELECT 4 + '5.2';

=== Result of SELECT Command in Line 3 ===

4+'5.2'

9.199999999999999e+00

1 rows selected.
{noformat}

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.