array_product
Calculate the product of values in an array
&reftitle.description;
intfloatarray_product
arrayarray
array_product returns the product of values
in an array.
&reftitle.parameters;
array
The array.
&reftitle.returnvalues;
Returns the product as an integer or float.
&reftitle.changelog;
&Version;
&Description;
8.3.0
Now emits E_WARNING when array values
cannot be converted to &integer; or &float;.
Previously &array;s and &object;s where ignored whilst every other value was cast to &integer;.
Moreover, objects that define a numeric cast (e.g. GMP) are now cast instead of ignored.
&reftitle.examples;
array_product examples
]]>
&example.outputs;