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
Powered by MarkLogic Server | Terms of Use | Privacy Policy