Page 1 of 1

Dividing Variables.

Posted: Mon Aug 06, 2007 10:43 am
by autom8te
I'm trying to divide a variable to determine an average is this the correct way to do this task under set variable?{VARIABLE(/10)}Thanks in advance to anyone that can help...

Dividing Variables.

Posted: Mon Aug 06, 2007 11:25 am
by Oleg
You easily can do this by "Evaluate" action. It is in basic plugin ( http://www.robotask.com/downloads/BasicForRoboTask.exe )

Suppose ve have a variable, named MyVar. The variable contains some numeric value.

We can evaluate the expression
{MyVar}/10
and assign the result to any user variable, including MyVar.