BIS fnc parseNumber: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Text replacement - "\[\[Category\:Function Group\: Numbers(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "") |
||
Line 37: | Line 37: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:parseNumber}}]] | [[Category:Functions|{{uc:parseNumber}}]] | ||
[[Category:{{Name|arma2}}: Functions|{{uc:parseNumber}}]] | [[Category:{{Name|arma2}}: Functions|{{uc:parseNumber}}]] |
Revision as of 09:23, 12 October 2020
Description
Syntax
- Syntax:
- value call BIS_fnc_parseNumber
- Parameters:
- value: Number, String, Code or Config
- Return Value:
- Number - parsed number, -1 if value is not a number
Examples
- Example 1:
_result = 7.62 call BIS_fnc_parseNumber; _result = "7.62" call BIS_fnc_parseNumber; _result = { 7.62 } call BIS_fnc_parseNumber;
Additional Information
- See also:
- parseNumber
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