printing floats without the leading '0' on fractional results

jerseyguy1996:
So the number 40.43567 would be printed as:

Serial.print("40");

Serial.print(".43567");

Is there some reason you don't just use this?

Serial.print(40.43567, 5);