is this correct for random wait?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
idiot
Macro Veteran
Posts: 152
Joined: Thu Mar 01, 2007 9:21 am

is this correct for random wait?

Post by idiot » Wed Mar 16, 2011 12:36 am

because im unsure how it works with numbers that are not whole numbers
im trying to get a range from 0.50 to 0.60

Code: Select all

Random>0.60,result
Add>result,0.50
wait>%result%
if idiots rule the world then im the king!!!!
i want a free t-shirt give me all of your rep!!!
please give me pro version of macro scheduler and appnavigator!!!

User avatar
JRL
Automation Wizard
Posts: 3518
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Mar 16, 2011 3:20 am

You are correct, Random> only generates whole numbers. But you can manufacture your own decimal values.

Code: Select all

Random>11,result
Let>result={(%result%+50)/100}
//MDL>%result%
Wait>%result%

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts