Operators > >= (greater than or equal to)

>= (greater than or equal to)

Syntax

expression1 >= expression2

Arguments

expression1, expression2 Strings, integers, or floating-point numbers.

Description

Operator (comparison); compares two expressions and determines whether expression1 is greater than or equal to expression2 (true), or whether expression1 is less than expression2 (false).

Player

Flash 4; Flash 5 or later. In Flash 5 >= is a comparison operator capable of handling various data types. In Flash 4 >= is a numeric operator. Flash 4 files brought into the Flash 5 authoring environment undergo a conversion process to maintain data type integrity. The example below illustrates the conversion process.

Example

The following illustrates the conversion of a Flash 4 file containing a numeric quality comparison.

Flash 4 file:

x >= y

Converted Flash 5 file:

Number(x) >= Number(y)