문제

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
도움이 되었습니까?

해결책

var portString = port.toString
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top