Skip to main content
Version: 8.1

pow

This function is used by Ignition's Expression language.

Description​

Returns a number raised to a power.

Syntax​

pow(number, power)

  • Parameters

    • Integer/Float number - The number to raise to the provided power.

    • Integer/Float power - The power value to raise the number value to.

  • Results

    • Integer/Float - The result of the number provided raised to the power provided.

Examples​

Code Snippet
pow(2,3) //returns 8