(min number1 number2 ...)


Determine which is the smallest number.


This function chooses the smallest or minimum number. When all the numbers are integers, then the result is also an integer. Any other combination results in a real number.

Examples

Code Returns
(min 85 63) 63
(min 34.0 18) 18.0000
(min -6.9 -7) -7.00000
(min 3) 3
(min) 0

Tell me about...

(fix number)

(max number1 number2 )

(rem number1 number2 [number3 ...])

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language