How to create a random number

Hi I want to create a reference number that should be automatically generated and random how to create that function ?

The RANDOM() function creates a random number between 0 and 1. So for example if you want a random number between 0 - 100, you would do: Value = RANDOM() * 100

random_integer_between(0, 777) would do it also.

put the formula in all caps, and plug in your own numbers