LCD 16X2 Multiple Variable Display Issue

I've programmed my Arduino to pull multiple variables from sensors, calculate the results, and then print the results to serial and the LCD screen. The issue that I'm running into is that the LCD screen is displaying artifacts that I cannot get rid of.

I've attached a picture of what I get on my display when I get my results. I can't get everything I want to display on the screen with the characters on there so it all looks a bit basic.

Here's and example of the variable collection and LCD print.

  //Distance3
    digitalWrite(trig3Pin, LOW);
    delayMicroseconds(2);
    digitalWrite(trig3Pin, HIGH);
    delayMicroseconds(15);
    digitalWrite(trig3Pin, LOW);
    duration3 = pulseIn(echo3Pin, HIGH);
    distance3 = float(51.6-((duration3/2) / 74.0));

    Serial.print(distance1);
    Serial.println(distance2);
    Serial.println(distance3);

    lcd.setCursor(0,0);
    lcd.print(distance1);
    lcd.println(" ");
    lcd.print(distance2);
    lcd.setCursor(0,1);
    lcd.println(" ");
    lcd.print(distance3);


  }

The artifacts will go away if you stop using lcd.println(). Did you notice that there is no information about that command in the LiquidCrystal documentation?

Don

That's what I get for reading through other fixes for other problems and using their code. Is fixed now. I had an issue with random characters showing up earlier (I had the LCD on pins 0,1) and had forgotten that I added those lines to try to solve that problem first.