Gauge value recognition example, Predict function rounds ?

If I try the following example

I cannot get the decimal values ?!

For a 6.5 gauge, I get 6.0; for 10.5, I get 10.0; for 2.3, I get 2.0; for 6.8, I get 7.0, etc., etc.
I strictly copied the example! What’s the problem?
Thank you, J.