JavaScript sql.sign
sql
:sign
sql:sign(
$x
as xs:double ) as xs:double
Summary
Returns the sign of number x.
Parameters
x
The number to be evaluated.
Example
sql:sign(19.5) => 1
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a registered trademark of MarkLogic Corporation.
Powered by
MarkLogic Server
|
Terms of Use
|
Privacy Policy