Integer to String
Lutger
lutger.blijdestijn at gmail.com
Wed Jan 30 09:04:20 PST 2008
tytower wrote:
> I'm pulling my hair out to simply take a number say 37 and convert it to a
> string under Tango
>
> int x = 37
> Char[] y = intToString(x);
>
> how the blazes do I make this simple little thing work??
see http://www.dsource.org/projects/tango/wiki/ChapterConversions#Integer
import Integer = tango.text.convert.Integer;
...
int x = 37;
char[] y = toString(x);
More information about the Digitalmars-d-learn
mailing list