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 15:26, 19. Nov 2019
Joined Aug 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
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 20:25, 8. May 2020
Joined Aug 2019
User points:

User statistics:

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

Possibly in Math: number from text.

Last seen on 04:55, 23. Dec 2019
Joined May 2013
User points:

User statistics:

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

I believe this is what you are looking for.