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

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

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