Operators > / (division)

/ (division)

Syntax

expression1 / expression2

Arguments

expression Any number.

Description

Operator (arithmetic); divides expression1 by expression2. The expression arguments and results of the division operation are treated and expressed as double-precision floating-point numbers.

Player

Flash 4 or later.

Example

This statement divides the floating-point number 22.0 by 7.0 and then displays the result in the Output window:

trace(22.0 / 7.0);

The result is 3.1429, which is a floating-point number.