How to save numbers from a string as an integer in swift -


question says all. need save string , substrings of string integer, can averaging numbers.

i think want this:

var mystring = "1234" var myint = mystring.toint()! 

Comments

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -