Loading TOC...

math.fabs

math.fabs(
   x as Number
) as Number

Summary

Returns the absolute value of x.

Parameters
x The floating point number to be evaluated.

Example

  math.fabs(4.013)

  => 4.013

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.