2 ** 3 # 2 to the power of 3 This is how I do it with Python.
How do I calculate powers;
According to this Reddit post and the documentation, you can use the pow
function. For example, to get 2
to the power of 3
, you can use pow(2, 3)
.
Hopefully this helps :smile:
Thanks!
4 years later
Megalomaniak added the Godot Help tag .