Is there a way to convert string to number?

Started by DominicentekCZ on Sun, 10/20/2019 - 14:30

Topic category: User side tutorials

Last seen on 12:25, 25. Oct 2019
Joined Aug 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Is there a way to convert string to number?
Sun, 10/20/2019 - 14:31 (edited)

 Take a input field in inventory for example. Player must set there a number. Then, create explosion of power entered in the input field. But there is a problem. Explosion power is NUMBER. Number entered in input field is STRING. So, the power value won't take the number entered in the input field. So it needs to be converted. But how?

Edited by DominicentekCZ on Sun, 10/20/2019 - 14:31
Last seen on 00:29, 12. Nov 2019
Joined Aug 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Possibly in Math: number…
Sun, 10/20/2019 - 15:21

Possibly in Math: number from text.

Last seen on 00:40, 4. Nov 2019
Joined May 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I believe this is what you…
Fri, 11/01/2019 - 21:54

I believe this is what you are looking for.