I am doing this and it is throwing an exception.

string d = readln( );
int i = to!int( d );

I tried

string d = "50";
int i = to!int( d );

and that worked ok.

Reply via email to