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.
make script to choice
Moderators: JRL, Dorian (MJT support)
-
- Macro Veteran
- Posts: 267
- Joined: Mon Sep 27, 2010 8:57 pm
- Location: Seattle, WA
thanks mr. jerry thomas for your reply....i,m so confused
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% ....
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
- Dorian (MJT support)
- Automation Wizard
- Posts: 1414
- Joined: Sun Nov 03, 2002 3:19 am