Skip to main content

math.pow(base, exponent)

Returns a power value

Availability

Device, Agent

Returns

Float — the computed value

Parameters

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

Description

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

Example Code