parseNumber: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
unfortunatly, if the text does not represent a number ("abc" for exemple), parseNumber will return 0. | |||
So it is not possible to guess if the string contains "0" or "anything else a number" | |||
<!-- Note Section END --> | <!-- Note Section END --> | ||
</dl> | </dl> |
Revision as of 16:22, 27 December 2006
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
-
unfortunatly, if the text does not represent a number ("abc" for exemple), parseNumber will return 0.
So it is not possible to guess if the string contains "0" or "anything else a number"