* (multiply)

Availability

Flash Lite 1.0.

Usage

expression1 * expression2

Operands

expression1, expression2 Numeric expressions.

Description

Operator (arithmetic); multiplies two numeric expressions. If both expressions are integers, the product is an integer. If either or both expressions are floating-point numbers, the product is a floating-point number.

Example

Usage 1: The following statement multiplies the integers 2 and 3:

2 * 3

The result is 6, which is an integer.

Usage 2: The following statement multiplies the floating-point numbers 2.0 and 3.1416:

2.0 * 3.1416

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