Loading TOC...

sql.sign

sql.sign(
   x as Number
) as Number

Summary

Returns the sign of number x.

Parameters
x The number to be evaluated.

Example

  sql.sign(19.5)
  => 1

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