Pergunta

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
Foi útil?

Solução

var portString = port.toString
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top