next up previous

12.5.1.7 Minimum Numeric Value

The min function returns the value of its smallest numeric argument. Each of its arguments should be a numeric expression. When necessary, integers are temporarily converted to floats for comparison. The return value will either be integer or float (depending upon the type of the smallest argument).

Syntax

(min <numeric-expression>+)

Example

CLIPS> (min 4 0.1 -2.3)
-2.3
CLIPS>


next up previous