Temperature sensor + Leds

Maybe someone knows how to round 22.9 to 23 degrees?

Same as always - add 0.5, and assign the result to an "int".