PRODUCT

Chandra Bergmann

The function PRODUCT takes a List of Numbers and multiplies them all together.

This function takes a List of Numbers as input. It outputs a single Number: the product of every number in the List, multiplied together.

Declaration

PRODUCT(list_of_numbers) -> product_of_numbers

Parameters

list_of_numbers (required, type: List)
A list of Numbers to multiply together.

Return Values

result_number (type: Number)
The Number representing the product of all the Numbers in the given List.

Examples

The following example takes a List of Numbers and returns the product of all the Numbers in the given List:
PRODUCT([1, 4, 3, 3, 2]) -> 72