[Swift-devel] int to string
Jonathan Monette
jonmon at mcs.anl.gov
Mon Aug 8 23:18:41 CDT 2011
I have been wanting this function in Swift. I had a need for it awhile back but came up with a workaround. I can't exactly remember what the need was for though.
----- Reply message -----
From: "Mihael Hategan" <hategan at mcs.anl.gov>
Date: Mon, Aug 8, 2011 9:52 pm
Subject: [Swift-devel] int to string
To: "Ketan Maheshwari" <ketancmaheshwari at gmail.com>
Cc: "Swift Devel" <swift-devel at ci.uchicago.edu>
On Mon, 2011-08-08 at 21:44 -0500, Ketan Maheshwari wrote:
> Hello,
>
>
> I was wondering if we can convert an int to string in Swift. I think
> @tostr method doesn't exist.
Strcat will do implicit conversion of its arguments to string. So
@strcat(2) should work.
Though we should have @tostr.
_______________________________________________
Swift-devel mailing list
Swift-devel at ci.uchicago.edu
https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110808/26a62191/attachment.html>
More information about the Swift-devel
mailing list