ToInteger

From OxeyeWiki

Revision as of 23:13, 8 March 2009 by Jeb (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WChar:toInteger()

Converts the string object to an integer, if possible.

Parameter Expected Type Description
No parameters
Returns

Returns the integer value of the text object, or 0 if it's not possible to convert the object to an integer.

Daisymoon GUI Lib

Example

   local text = WChar("32")
   local age = text:toInteger()
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox