Power

Block Group: Math Operations
Icon:Power block icon

The Power block returns the result of raising a number to an exponent.

Note

Error values, and text that cannot be resolved to numbers, cause a NaN error result to be returned.

For information on using dataflow blocks, see Dataflow.

For accepted and excluded arguments of Math Operations blocks, see Math Operations.


Input/Output Properties

The following properties of the Power block can take input and give output.

  • input (number)
  • power (number)

input specifies the value to be raised to an exponent.

power specifies the exponent to raise input to.


Output Property

The following property of the Power block can give output but cannot take input.

  • output (number)

output returns the result of the calculation.


Examples

The following image shows three examples of the Power block.

Power block examples