var portString = port.toString
Xtend: How to convert Integer to String?
-
28-08-2022 - |
Question
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
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow