OS: Mac M3
Java Version: openjdk11
Tomcat Version: not sure using commandbox
Lucee Version: 5.3.7.48
**Mysql 8.0.42
Hi all,
I just noticed that my decimals are being rounded when using cfquery to pull a column from the database that is defined as DECIMAL(10,2)
The first ten rows from the db
‘9833386705210’,‘9.00’
‘9833386737978’,‘9.00’
‘9833386770746’,‘11.00’
‘9833387032890’,‘9.00’
‘9833387196730’,‘9.00’
‘9833387262266’,‘9.00’
‘9833387295034’,‘13.00’
‘9833387393338’,‘9.00’
‘9833387524410’,‘9.00’
‘9833387557178’,‘13.00’
and the results of my cfquery
is there any way to prevent this, I am exporting the data to a csv file and I would like to have the decimal places in tact without having to use numberformat.
Cheers,
Gary