On Dec 6, 2007 7:02 AM, Dino M. B. <mypascal2000@REDACTED> wrote: > How do I create a function in erlang that will generate a rundom integer number btw say 1 and 10 and return it ? No need to create it, it's already provided by the random module: 3> random:uniform(10). 8 P.