pow
This block is part of the math group and was last modified in core v10.4.28.
pow v10.4.28 Returns the base to the exponent power
In pins 2
- Base required
number - Exponent required
number
Out pins 1
- Number
number
Outputs number_0 raised to the power number_1. Either pin unwired or nil outputs nil; a wired non-numeric value counts as 0 (numeric strings and booleans coerce), so an invalid exponent yields 1. Example: number_0=2 number_1="8" -> 256.
A typical wiring for Pow: the number out pin feeds cast to value.
Version history
Introduced in v10.4.28.
Back to
math Return to the main group to view all sub-groups Back to number: static methods Return to the group to view all blocks within this group 