Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/1339-standardlibrary-mathematics-stat-mathsubfunctions-statmathrange.md
T
2026-06-23 21:47:51 +08:00

31 lines
492 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# MathRange
Calculates the minima and maxima of array elements.
```
bool  MathRange(
   const double&  array[],  // array of values
   double&        min,      // minimum value
   double&        max       // maximum value
   )
```
Parameters
array[]
[in] Array of values.
min
[out] Variable to store the minimum value.
max
[out] Variable to store the maximum value.
Return Value
Returns true if successful, otherwise false.