Policies & Guidelines

PRODUCT

Calculate product of numbers in array

Description

Given an array of numbers, calculate the product of multiplying the numbers with each other.

Function signature

PRODUCT(values: Array) => Number

Parameter

Description

Values

Array of numeric values

Examples

Formula

Return value

PRODUCT([100, 3, 20])

6000

PRODUCT([100, 3, 20, 0])

0

PRODUCT([])

0