void setup() {
  Serial.begin(115200);
 char buffer [100];
  int cx;

  cx = snprintf ( buffer, 100, "The half of %d is %d", 60, 60/2 );

  if (cx>=0 && cx<100)      // check returned value

    snprintf ( buffer+cx, 100-cx, ", and the half of that is %d.", 60/2/2 );

  Serial.println(buffer);

int tester=61;
cx = snprintf ( buffer,100,"%d",tester );

  if (cx>=0 && cx<100)      // check returned value

    snprintf ( buffer+cx, 100-cx, ", and the half of that is %d.", 60/2/2 );

snprintf(buffer,100,"%d",tester);
Serial.println(buffer);


}

void loop() {
  // put your main code here, to run repeatedly:

}