[Sloved]

Hello dear people,

I need some help out here because I'm a programmer and I want to make a script where the weather is predictable based on a given number (unix timestamp).

I am not bad at math but this goes a bit beyond my point of view,

what I want to do is to setup a formula to make any number into a number between chosen X & Y, for example:

Turn any number into a 'random but predictable' number between 20 an 30.

So for example if I want to turn number 1 using the 'formula' it would give the result 21

and if I do 2 it will go on till it reaches the max, then i I have the number 10 it begins again with 20 , or a random number between 20 and 30.

Can anyone help me out, please?

Thanks in advance.