Udostępnij za pośrednictwem


Multiplication Operator (*)

Multiplies the value of two expressions.

number1 * number2

Arguments

  • number1
    Any numeric expression.

  • number2
    Any numeric expression.

Remarks

The multiplication operator multiplies number1 by number2 and returns the result. If either number is NaN, the result is NaN. Multiplication of Infinity by zero gives a result of NaN, while multiplying Infinity by any non-zero number (including Infinity) gives a result of Infinity.

Requirements

Version 1

See Also

Reference

Multiplication Assignment Operator (*=)

Concepts

Operator Precedence

Operator Summary