Package java.util
Class Random

Public Method nextFloat

float nextFloat()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method generates and returns the next random float value between 0.0 and 1.0. The returned values ranging from the values 0.0f, which is inclusiv, and 1.0f which is exclusive.

Example

   Random rand = new Random();
   Logger.log("random float: " + rand.nextFloat());

The nextFloat method returns the next random float value.