Variable math method needed

Problem: I’m having difficulty understanding how to use the variable math action to perform a simple math action on two variables and load it into the third:
Example: a = b/c

I’m only seeing a place to do an action such as b/c but no way to get the result into a.

Is this a Javascript-only type of action? Since I’m not a Javascript person could you give me a simple example of the code in Javascript to perform this? I’ve tried
var a = b/c;
prez a=b/c;
but clearly I’m not understanding something because neither is working. (I’m assuming you have to establish the variables in AP first, which I did).

ActivePresenter version: 8.5.8

OS: Win 11

Sorry but I’ve spent hours trying to find similar questions or examples first, but couldn’t turn any up.

Hi Roger,

For your request, you don’t need to use JavaScript to solve the case.
Please set the action for your variables as in the image below to make the math action work:

Kindly let us know if you have any other questions.

Quynh Anh