Skip to main content

IMPRODUCT

Returns the product of the specified complex numbers.

Syntax

expression.IMPRODUCT(args);

expression - A variable that represents a ApiWorksheetFunction class.

Parameters

NameRequired/OptionalData typeDefaultDescription
argsRequiredApiRange | ApiName | stringUp to 255 complex numbers expressed in the <em>x + yi</em> or <em>x + yj</em> form.

Returns

number

Example

let worksheet = Api.GetActiveSheet();
let func = Api.GetWorksheetFunction();
worksheet.GetRange("A1").SetValue(func.IMPRODUCT("-2+2.5i", "0.1+1.5j", "1+3i"));