What is the best way to get a randomized real value?

Hi ,

We can randomize using $urandom command and if the data has pre defiend range , we can use $urandome_range( ) function . IS this the best way ? I am not sure but it works quite well and gives randomized value at every clock edge if used with clocking block