min

 
 
 

Returns the lesser of two floating point numbers.

float min( float number, float number)

number is a number you want to compare.

Examples

min(7.2,-3.2)

Returns -3.2.

Desk.height = -2;
Lamp.height = 9;
$Mylight = min(Desk.height,Lamp.height);

Sets $Mylight to -2.