Power of Operator

I want to use the power of operator in some coding - but I can’t find an operator to handle it.

Eg number = 2 to the power of (time-1)

Any suggestions please?

Hi Paul,

There is block under Operators that you can use. It looks like this:

You need to select pow for the first parameter from the drop down. Then the second parameter will be the base number and the third parameter will be the power.

Here is an example of 2^5:


Thanks Clare

answer was spot on - I don’t feel such a dill now; it’s hardly intuitive to find that.