This question already has an answer here:
In QGIS 3.4.4, using the Field Calculator, the expression
where I expected it to return
Converting the field to real round(to_real(-2.040),1) did not change anything.
In QGIS 2.18.19 and got the expected result.
Is the syntax changed in 3.x or is this a (known) bug? Or am I expecting the wrong output?