Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: variables  (Read 2471 times)

0 Members and 1 Guest are viewing this topic.

hubertMichael

  • Regular poster
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
variables
« on: April 17, 2013, 10:40:59 PM »

Hi

How can I convert string to numeric variable?

Code: [Select]
var yyy = new String("1upa");
var xxx = yyy.Substring(0,0);

Now I need my xxx variable convert to numeric variabale.
Logged
Shadow Of Nebula fan page:

https://www.facebook.com/shadowofnebula

hubertMichael

  • Regular poster
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
Re: variables
« Reply #1 on: April 17, 2013, 10:55:47 PM »

Fixed :)

ToInt (Value)
Logged
Shadow Of Nebula fan page:

https://www.facebook.com/shadowofnebula
 

Page created in 0.052 seconds with 23 queries.