Display IPadress, doesn't work..

Hey!
I want my arduino's IP address to be displayed on a web page but I'm not getting it right. Instead of printing 100.10.10.35, it prints 556283684, what am I doing wrong?

String message = "<html>....etc............";

message += (WiFi.localIP());

message += ".......bla..bla........</html>";
  server.send(200, "text/html", message);

(deleted)

"error: no matching function for call to 'WiFiClass::localIP(int)"

(deleted)

This works...! :slight_smile:

WiFi.localIP().toString();

(deleted)