Integer remove digit after dot

You should learn to use sprintf().

   sprintf(buf,"%03d KM/H",speed);
   Serial.println(buf);