Quantcast
Channel: Lucee Dev - Latest topics
Viewing all articles
Browse latest Browse all 421

SQL Precision issue with Lucee 5.4.5.23

$
0
0

We’re in the process of testing Lucee 5.4.5.23 and I’m seeing a change in behavior, which looks like a bug to me. If you run the following code against the MSSQL JDBC driver in Lucee 5.4.5.23 you get 17.7999992 instead of 17.8 (which is what Lucee 5.4.3.2 produces):

select cast(17.8 as real)

I would expect this to return 17.8.

Is there a way to restore the old behavior or is this indeed a bug?

OS: CentOS 7
Java Version: 11.0.22
Tomcat Version: 9.0.84
Lucee Version: 5.4.5.23

3 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 421

Trending Articles