Author Topic: String to Single  (Read 696 times)

0 Members and 1 Guest are viewing this topic.

Offline VinceBros

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 275
String to Single
« on: November 07, 2009, 07:02:09 pm »
Hai all,

I haven't posted for a while...

Could you please tell me how to convert a string to a single through a WriteConsole message.

Thanks

Offline |_ancer

  • Soldier
  • **
  • Posts: 153
  • again and again.
Re: String to Single
« Reply #1 on: November 07, 2009, 07:53:11 pm »
string to single: strtofloat(string)

Do the rest.

Offline VinceBros

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 275
Re: String to Single
« Reply #2 on: November 07, 2009, 08:08:15 pm »
I didn't know float was known as single o.o

Thanks :)