BIS fnc parseNumberSafe: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added page)
 
m (see also)
Line 34: Line 34:
|exec= call |Execution=
|exec= call |Execution=


| |See also=
|[[BIS_fnc_parseNumber]] |See also=
}}
}}



Revision as of 20:12, 27 February 2020

Hover & click on the images for description

Description

Description:
/*
	Author: 
		Killzone_Kid

	Description:
		Converts expression into a number (or array of expressions into an array of numbers)
		If expression does not return a number, 0 is returned

	Parameter(s):
		NUMBER, STRING, ARRAY, SIDE, CONFIG (NUMBER, STRING, ARRAY) 
			
	Returns:
		NUMBER (or ARRAY of NUMBERs if ARRAY is passed as an argument)
*/
Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_parseNumberSafe
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:

Additional Information

See also:
BIS_fnc_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