De-I > int

int

Syntax

int(value);

Arguments

value A number to be rounded to an integer.

Description

Function; converts a decimal number to the closest integer value.

Player

Flash 4 or later. This function has been deprecated in Flash 5; use of the Math.floor method is recommended.

See also

Math.floor