i cant understand this code, help me

Serial.print("LAT=");
Serial.print(flat == TinyGPS::GPS_INVALID_F_ANGLE ? 0.0 : flat, 1);
Serial.print(" LON=");
Serial.print(flon == TinyGPS::GPS_INVALID_F_ANGLE ? 0.0 : flon, 1);
Serial.println();

What about it do you not understand? Perhaps the ternary operator?

Is it the " ? ..:..;" construct?

If the expression to the left of the ? is true, then return the value to the left of the colon, else return the value to the right of the colon.

See what happens if you don't use code tags ! :slight_smile: