Integer remove digit after dot

You are printing a non-initialized array of characters. What else did you expect?
At least you got rid of the dtostrf().

Pieter