numFilter (Number filter)

Prev Next

$numFilter checks the given parameters for valid numeric values.

Tooltip

Syntax: $numFilter(a[,b[,c[...]]])

Parameter

Description

a

The field, list or value to check for a numeric value (e.g. '5', $el(3,true), $el(3)).

other parameters

Other fields similar to a.

Returns a list of valid numeric values.

Example: $numFilter(13,hello,$null,5) – returns [13,5]

Syntax

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

Parameter

Name

Description

a

The field, list or value to check for a numeric value (e.g. ' 5 ', $el(3,true) , $el(3) ).

Other parameters

Other fields similar to a.

Return value

A list of valid numeric elements.

Example

Search all numeric values from the repeating element with the id 28:

Syntax

Result

$numFilter($el(28,true))

e.g. [3.14, 7, 42]