Multiply

Copied!
( value_1, value_2, ... )

Description

The Multiply function computes the product of a list of numbers. Providing a single number returns the number.

Attempting to call Multiply without any arguments results in the error "Non-empty array expected."

Parameters

Parameter Type Definition and Requirements

value

List of Numbers

A single Value or a list of Values.

Returns

A Number which is the product of the list of values.

Examples

Copied!
(100, 10)
1000
Query metrics:
  •    bytesIn:  21

  •   bytesOut:  17

  • computeOps:   1

  •    readOps:   0

  •   writeOps:   0

  •  readBytes:   0

  • writeBytes:   0

  •  queryTime: 1ms

  •    retries:   0

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!