Adding fraction to float

Temp + 1/10;

Well, 1 divided by 10 is zero, but even when you make it 1.0 / 10.0, you don't assign the result of the addition to anything.