JavaScript math.fabs
MarkLogic 10 Product Documentation
math
:fabs
math:fabs(
$x
as xs:double ) as xs:double
Summary
Returns the absolute value of x.
Parameters
x
The floating point number to be evaluated.
Example
math:fabs(4.013) => 4.013
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a registered trademark of MarkLogic Corporation.
Powered by
MarkLogic Server
|
Terms of Use
|
Privacy Policy