Bug #29524
closedTCA returns silly values when using "real" as field type
0%
Description
Hi there,
there is some fancy bug when using dbal with MSSQL.
If you have a field, let's call it "rate", in the database and this field is of type "real", which seems to corresponds to float or double in MySQL, the return value of the database gets some kind of modified.
For example, you enter 6.95 in the field and save it. The value get's correctly saved to the database : 6.95. But when the form loads, the value looks more like 6.9499998092651 . When checking again the value in the database, it is still 6.95. When you save again with 6.95 there is a error message claiming that the field type doesn't fit.
Now the question is : why does dbal (or TYPO3) harm the content?
I checked it with a normal mssql_query and the value gets returned correctly, means 6.95.
Thanks for you help and support.
Greets Tizian