Pow

From Xojo Documentation

Revision as of 18:38, 28 January 2021 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Global Method

Pow(value as Double, power as Double) As Double

Supported for all project types and targets.

Returns the value specified raised to the power specified.

Syntax

result=Pow (value, power)

Part Type Description
result Double Value raised to power.
value Double The value you want to raised to power.
power Double The power that value is raised to.

Examples

This example uses the Pow function to return four raised to the power of seven.

Var d As Double
d = Pow(4, 7) // returns 16384

See Also

^ operator.