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.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License