Usage

Syntax: int(float)
Returns number.

Explanation

Takes the integer part of a floating point number and returns it.

Example

function onCreated()
{
  temp.a = int(3.14);
}

... Would set temp.a to 3.

Categories

CategoryFunctionClientside
CategoryFunctionServerside
Comments [Hide comments/form]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki