char[] -> int or float...

Daniel Keep daniel.keep.lists at gmail.com
Tue Mar 27 02:53:44 PDT 2007



Gregor Kopp wrote:
> Hi Guys,
> 
> can anyone tell me how I can convert a char-Array to a float or an int?
> Kind Regards,
> 
> Gregor

http://www.digitalmars.com/d/phobos/std_conv.html

Documentation is your friend.

	-- Daniel

-- 
int getRandomNumber()
{
    return 4; // chosen by fair dice roll.
              // guaranteed to be random.
}

http://xkcd.com/

v2sw5+8Yhw5ln4+5pr6OFPma8u6+7Lw4Tm6+7l6+7D
i28a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP  http://hackerkey.com/


More information about the Digitalmars-d-learn mailing list