Skip to main content

math.pow(base, exponent)

Returns a power value

Availability

Device + Agent

Parameters

Name Type Description
base Integer The base value
exponent Float/integer The exponent value

Returns

Float — the computed value

Description

This function returns the result of raising the base value to the power of the exponent.

Example