String to Integer Smalltalk

Anton picture Anton · Feb 9, 2010 · Viewed 8k times · Source

Pretty simple question I need to get an integer from the user and I only know how to get a string from them. So if there is a way to get an integer from the user or to convert the string to an integer please let me know.

Answer

Anton picture Anton · Feb 9, 2010

Found it:

'12345' asNumber.