Xtend: How to convert Integer to String?

1k Views Asked by At

What is the preferred way to convert an Integer into a String in Xtend? Is there a better way than this?

var int port = 12345
var String portStr = "" + port
1

There are 1 best solutions below

1
On BEST ANSWER
var portString = port.toString