/* $DOC$
   $NAME$
      ft_Rand1()
   $CATEGORY$
      Math
   $ONELINER$
      Generate a random number
   $SYNTAX$
      ft_Rand1( <nMax> ) -> nRand
   $ARGUMENTS$
      <nMax>  Maximum limit of value to be produced.
   $RETURNS$
      nRand is a random number between 0 (inclusive) and <nMax> (exclusive).
   $DESCRIPTION$
      Generates a non-integer random number based on the Linear
      Congruential Method.

      If you need a random number between 1 and <nMax> inclusive, Int()
      the result and add 1.

      If you need a random number between 0 and <nMax> inclusive,
      then you should Round() the result.
   $EXAMPLES$
      ? Int( ft_Rand1( 100 ) ) + 1    // 1 <= nResult <= 100
      ? Round( ft_Rand1( 100 ), 0 )   // 0 <= nResult <= 100
      ? ft_Rand1( 1 )                 // 0 <= nResult < 1
   $END$
 */
