I have imported a csv file into the MySQL database and the DECIMAL(3,2)
field is rounded.
In the csv file there are numbers between 0
and 1
(for example: 0,3
).
Hence I thought the definition DECIMAL(3,2)
should be good enough if I wanted to avoid rounding. But 0,3
is rounded to 0
and I cannot explain why.
Any suggestions?