make script to choice

Hints, tips and tricks for newbies

Moderators: JRL, Dorian (MJT support)

Post Reply
pmn7612
Newbie
Posts: 2
Joined: Fri Oct 18, 2013 6:43 am

make script to choice

Post by pmn7612 » Fri Oct 18, 2013 8:24 am

I want to create a script to determine the number with the following provisions:
there are numbers 0 through 9 and then the figure has an arbitrary percentage, ie 0%, 4%, 8%, 12%, 16%, 20%, 24%, and 28%.
so any number can have the same percentage every day, then I want to make a script so that I get a percentage of sequence numbers has 4% and 8% then 12% then 16% and this figure should be down to 12% and 8%. now that number is a number that I want.

how the example script, I was really confused start,,, please help me.
i'm sorry, i can't speak english well.
pmn7612

Jerry Thomas
Macro Veteran
Posts: 267
Joined: Mon Sep 27, 2010 8:57 pm
Location: Seattle, WA

Post by Jerry Thomas » Fri Oct 18, 2013 3:26 pm

I want to understand what you are trying to do...

Do you mean
0= 0%
1=4%
2=8%
3=12%
4=16%
5=20%
6=24%
7=28%
8=32%
9=36%

Then, how many of the numbers entered were:
=4%
<=8%
<=12%
<=16%
etc

Is this correct?
Thanks,
Jerry

[email protected]

pmn7612
Newbie
Posts: 2
Joined: Fri Oct 18, 2013 6:43 am

thanks mr. jerry thomas for your reply....i,m so confused

Post by pmn7612 » Sat Oct 19, 2013 10:37 am

I mean the numbers 1 to 9 have changed percentage change every hour,
for example, in the first hour
0 = 0%
1 = 4%
2 = 0%
3 = 12%
4 = 16%
5 = 0%
6 = 24%
7 = 12%
8 = 24%
9 = 8%

in the second hour:
0 = 12%
1 = 20%
2 = 8%
3 = 16%
4 = 8%
5 = 12%
6 = 8%
7 = 0%
8 = 4%
9 = 12%

in the 3th hour
0 = 4%
1 = 4%
2 = 8%
3 = 24%
4 = 16%
5 = 8%
6 = 12%
7 = 0%
8 = 0%
9 = 16%

and in the 4th hour
0 = 16%
1 = 4%
2 = 20%
3 = 16%
4 = 8%
5 = 8%
6 = 8%
7 = 8%
8 = 0%
9 = 12%

then in the next time :
0 = 8%
1 = 12%
2 = 16%
3 = 0%
4 = 8%
5 = 20%
6 = 8%
7 = 8%
8 = 12%
9 = 8%

so from the data above, I want to find a sequence of numbers that have a percentage as the number 9 that is 8% in the first hour and then 12% then 16% then 12% then finally back to 8% ....
pmn7612

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1414
Joined: Sun Nov 03, 2002 3:19 am

Post by Dorian (MJT support) » Wed Oct 23, 2013 12:21 am

So if you were to do this manually for those hours above, what would the results be? How would they look? If you can shows us some example results from your hours, we can help you figure it out.

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