random-float
Whenver you have doubts about the meaning of a command, turn to the NetLogo Dictionary. Does the Dictionary documentation answer your question?
As Railsback and Grimm explain, whenever your are programming, you should have the NetLogo Dictionary open and at hand. If you read the documentation and still do not understand, try a few examples, and then tell us what seems inadequate about the documentation.
In this case, the contrast is between random, which always returns an integer, and random-float, which can also return numbers in between the integers (i.e., floating point numbers). So, for example, random-float 1 reports a number between 0 and 1 (i.e., in the [0,1) interval).
Keep asking questions!