Difference between revisions of "ArrayMin"
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Collection_Functions]] | [[Category:Collection_Functions]] | ||
− | | + | {{HelpFiles}} |
====arrayMin==== | ====arrayMin==== | ||
Line 19: | Line 19: | ||
'''Examples''' | '''Examples''' | ||
− | |||
− | |||
''array a = {1, 3, 3};'' | ''array a = {1, 3, 3};'' | ||
Line 26: | Line 24: | ||
''number c = arrayMin(a);'' | ''number c = arrayMin(a);'' | ||
− | ''print(c); | + | ''print(c); //1'' |
− | |||
− | |||
'''Availability''' | '''Availability''' |
Latest revision as of 04:41, 20 December 2011
arrayMin
Gets the minimum value of number type in an array if all the objects are of type number.
Syntax
arrayMin(array)
Arguments
array: Is an array.
Return type
number
Examples
array a = {1, 3, 3};
number c = arrayMin(a);
print(c); //1
Availability
Version 4.8