math.range ViewHelper <vhs:math.range>

Math: Range

Gets the lowest and highest number from an array of numbers. Returns an array of [low, high]. For individual low/high values please use v:math.maximum and v:math.minimum.

Arguments

a

DataType

mixed

Required

false

Description

First number for calculation

fail

DataType

boolean

Required

false

Description

If TRUE, throws an Exception if argument "a" is not specified and no child content or inline argument is found. Usually okay to use a NULL value (as integer zero).