DHIS2 Program Rule Mathematical Functions

Hi everyone, I am building a tracker program on version 2.38.0 .
I am trying to raise a base number to a power (exponent) using program variables.
e.g.

#{ Variable - A } = 2
#{ Variable - B } = 5

#{ Variable - C } = ( #{ Variable - A } ) ^ ( #{ Variable - B } )

#{ Variable - C } = ANS

I have not been able to identify a function that can help me with this within the program rule configuration e.g.

NumPower( A, B)

which could be used in my case as:

NumPower( #{ Variable - A } , #{ Variable - B } )

Would someone be able to point me in the right direction or share any ideas that I can use to implement this calculation. Any assistance will be appreciated, thanks.