Dividing Variables.

Discuss RoboTask here
Post Reply
autom8te
Posts: 1
Joined: Mon Aug 06, 2007 10:38 am

Dividing Variables.

Post 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...
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Dividing Variables.

Post 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.
Post Reply