Loading TOC...

MarkLogic 9 Product Documentation
math:pow

math:pow(
   $x as xs:double,
   $y as xs:double
) as xs:double

Summary

Returns x^y.

Parameters
x The floating-point base number.
y The exponent to be applied to x.

Example

  math:pow(2, 10)

  => 1024

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