Operators > * (multiplication)
* (multiplication)Syntax
expression1
*
expression2
Arguments
expression1, expression2
Integers or floating-point numbers.
Description
Operator (arithmetic); multiplies two numerical 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.
Player
Flash 4 or later.
Example
This statement multiplies the integers 2 and 3:
2 * 3
The result is 6, which is an integer.
Example
This 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.