Multiplicative operator (Definition)

A multiply or divide operator.

Availability:

ECMAScript edition - 2
Property/method value type:Number primitive

Multiplicative operators are those that require multiplication or division to evaluate their result.

The following table lists all operators are multiplicative and those, which are classified under other categories, which are also multiplicative, by implication:

OperatorDescription
%Remainder
*Multiply
/Divide
*=Multiply and assign to an LValue
/=Divide and assign to an LValue
%=Remainder and assign to an LValue

Operands that are used with multiplicative operators must have numeric values or be convertible using the valueOf() method.

Warnings:

See also:Arithmetic operator, Associativity, Binary operator, Divide (/), Divide then assign (/=), Expression, Multiplicative expression, Multiply (*), Multiply then assign (*=), Operator, Operator Precedence, Remainder (%), Remainder then assign (%=)

Cross-references:

ECMA 262 edition 2 - section - 11.5

ECMA 262 edition 3 - section - 11.5