Number()

Availability

Flash Player 4; behavior changed in Flash Player 7.

Usage

Number(expression)

Parameters

expression An expression to convert to a number.

Returns

A number or NaN.

Description

Function; converts the parameter expression to a number and returns a value as follows:

This function is used to convert Flash 4 files containing deprecated operators that are imported into the Flash 5 or later authoring environment. For more information, see & (bitwise AND operator).

See also

NaN, Number class