Numeric Extension Functions

The table in this topic describes the numeric extension functions available from the XPath editor context menu.

Table 1. Numeric extension functions
Name Description
absolute value Returns the absolute value of the input value.
average Returns the numeric average of the values of the specified nodes.
decode Returns the input string decoded into an integer
log Returns the log value of input value.
maximum Returns the greater of two input values.
maximum in list Returns the maximum value in a list of values.
minimum Returns the lesser of two input values.
minimum in list Returns the minimum value in a list of values.
pow Returns the input value raised to the power of the specified exponent.
random Returns a random number.
rint Returns the closest value that is equal to a mathematical integer.
scale Returns the scaled value of the input. The scale is the number of digits to the right of the decimal point.
square root Returns the square root of the input value.
sum total Returns the total of the specified nodes, after multiplying each node.
Related concepts
XPath Editor

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.