`lcd.print(String(Countdownfunction()));` Replace your print line with this. - Arduino