Number functionsAdded by IBM on October 10, 2012 | Version 1 (Original)
|The following functions deal with numbers.
Averages the values for a set of nodes. The strings values of the nodes are converted to numbers, added together, and then divided by the number of nodes.
Determines the minimum value from a set of nodes. The string value of each node is converted to a number, then the minimum value is determined.
Determines the maximum value from a set of nodes. The string value of each node is converted to a number, then the maximum value is determined.
Determines the number of non-empty nodes in a nodeset. A node is considered to be non-empty if it can be converted into a string with a length greater than zero.
Determines which row of a repeat currently has the focus. Repeats are indexed with a one-based count. For example, the first row is row 1, the second is row 2, and so on.
Generates a random number between 0.0 and 1.0. For example, random() could return 0.14159265358979.
Rounds a number based on the decimal precision.