Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Converts a string (containing a real number) to a number.

Syntax

Syntax:parseNumber string
Parameters:
  • string: String - String to convert.
Return Value:Number

Examples

Examples:_number = parseNumber "0.125"

Additional Information

See also: str
Multiplayer: 
Problems: 

Notes





Posted on Aug 26, 2013
UNN
The command will ignore any none numeric characters that proceed a valid number, so the following will just return a value of 1:



parseNumber "1--3"