product (Multiplication)

See also: calc (Calculate expression)

The $product function forms the product using the specified parameters. The parameters can either be a fixed numeric value or a function that returns a numeric value. The number of parameters for this function is unlimited.

Syntax

$product(a [, b[, c[...]]])

Parameter

Name

Description

a

First factor (or factors), a value (e.g. ' 5 '), a list (e.g. $el(3,true) ) or a reference to a value (e.g. $el(3) ).

Other parameters

Other factors of type a.

Return value

The result of the multiplication as a numerical value.

Example

Multiplication of the contents of the field with Id 3 and 2 and 23.

$product( $el(3), 2, 23 )