math:fabs( $x as xs:double ) as xs:double
Returns the absolute value of x.
Parameters | |
---|---|
x | The floating point number to be evaluated. |
math:fabs(4.013) => 4.013
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.