Loading TOC...

MarkLogic 9 Product Documentation
math.pow

math.pow(
   x as Number,
   y as Number
) as Number

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.