ViewHelper Documentation
v:math.median
Math: Median
Gets the median value from an array of numbers. If there is an odd number of numbers the middle value is returned. If there is an even number of numbers an average of the two middle numbers is returned.
Arguments
a anySimpleType
First number for calculation
fail boolean
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).