Swift : Convert (cast) Int to String ?
Problem :
How to convert (cast) Int to String in Swift programming language ?
Solution :
Just cast the Int variable with String() functon. For example :
let x : Int = 100
var str = String(x)
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+5.1k Unix/Linux : How to archive and compress entire directory ?
+4.5k Golang : PGX CopyFrom to insert rows into Postgres database
+36.9k Upload multiple files with Go
+22.4k Golang : simulate tail -f or read last line from log file example
+19.9k nginx: [emerg] unknown directive "passenger_enabled"
+6.4k Golang : Reverse by word
+6.5k How to let Facebook Login button redirect to a particular URL ?
+11.1k Golang : Generate DSA private, public key and PEM files example
+7.9k Golang : Add build version and other information in executables
+10.3k Golang : Interfacing with PayPal's IPN(Instant Payment Notification) example
+8.6k Golang : GMail API create and send draft with simple upload attachment example
+4.3k Adding Skype actions such as call and chat into web page examples