Usage

Syntax: min(a, b);
Returns the lowest valued input.

Explanation

Returns the one (a or b) that has the lowest value.

If a is smaller then b, return a
if b is smaller then a, return b

Example

function onCreated()
{
  temp.a = min(4, 6);
}

... Would set temp.a to 4.

Categories

CategoryFunctionClientside
CategoryFunctionServerside

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki