hi @Ben_Swanson , did you consider to use the Power() function? That should normally do the trick.
I applied it in this post:
best, christiaan