This page is also available in 3 other languages

pow()

[Math]

Description

Calculates the value of a number raised to a power. Pow() can be used to raise a number to a fractional power. This is useful for generating exponential mapping of values or curves.

Syntax

pow(base, exponent)

Parameters

base: the number (float)

exponent: the power to which the base is raised (float)

Returns

The result of the exponentiation. (double)

Example Code

See the (fscale) function in the code library.

See also