Doh! I can’t think of the maths to figure out how to do this in vvvv.
First number range is:
0-15 (including 0 and 15)
…and then all the other number ranges after this ie:
Second: 16-31
Third: 32-47
Fourth: 48-63
Fifth: 64-79
etc forever…
So what I want to do is input a number and then have returned what number range this belongs to.
So if I enter 18 it will return 2 (ie the Second range 16-31)
If I enter 75 it will return 5 (ie the Fifth range 64-79)
If I enter 49 it will return 4 (ie the Fourth range 48-63)
And so on…
Any ideas? I’m sure it’s simple I just can’t figure it out!