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
Powered by MarkLogic Server | Terms of Use | Privacy Policy