BIS_fnc_maxDiffArray
Jump to navigation
Jump to search
Hover & click on the images for descriptions
Description
- Description:
- Function to return the maximum difference between all values in an array.
Syntax
- Syntax:
- [arrayOfNumbers] call BIS_fnc_maxDiffArray
- Parameters:
- arrayOfNumbers: Array - numbers to be tested
- Return Value:
- Number - the biggest difference
Examples
- Example 1:
-
_maxDiff = [[0, 5, 10, -5]] call BIS_fnc_maxDiffArray; // will return 15 (-5 to 10)
Additional Information
- Execution:
- call
- See also:
- See also needed
- Groups:
- Arrays