Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Operators > * (multiply) | |||
Flash Lite 1.0.
expression1 * expression2
expression1, expression2 Numeric expressions.
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.
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.
|
|
|
|