Usage

Syntax: max(a, b);
Returns the greatest valued input.

Explanation

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

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

Example

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

... Would set temp.a to 6.

Categories

CategoryFunctionClientside
CategoryFunctionServerside

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

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