parseNumber: Difference between revisions
Jump to navigation
Jump to search
(add. classification) |
|||
Line 36: | Line 36: | ||
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]] |
Revision as of 01:33, 2 December 2009
Description
- Description:
- Parse string containing real number.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
- _number = parseNumber "0.125"
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
- If the text does not represent a number ("abc" for example), parseNumber will return 0 (zero). It is therefore not possible to use parseNumber to determine if the string contains a valid number or not.