forked from solstice/solstice
Add intToString() and stringToInt() functions
This commit is contained in:
8
tests/convert.sols
Normal file
8
tests/convert.sols
Normal file
@@ -0,0 +1,8 @@
|
||||
myString = "312"
|
||||
myInt = 435
|
||||
|
||||
myNewString = intToString(myInt)
|
||||
myNewInt = stringToInt(myString)
|
||||
|
||||
println(myNewString)
|
||||
puts myNewInt
|
||||
Reference in New Issue
Block a user