User Tools

Site Tools


modding:function:min

min

min

min

Syntax (min expression [number]1)
Arguments expression: A list or a number to find the least of.
number: One of the numbers that you want to find the least of.
Returns number: Returns the least of the passed in numbers.
Category 0.99, math
Description Finds and returns the least of the passed in numbers. If the first argument is a list of numbers that will be checked but no other arguments will be checked. Otherwise it will go through all the arguments.

Example

(min '(5 4 3 2 1))

Will return a 1.

 (min 34 54 784 4 45) 

Will return a 4. Return to Functions list

modding/function/min.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1