<i>
Note: In case you use random numbers downloaded from this site to play lotteries and you win, we recommend you to donate half of the sum to www.randomnumbers.info !
</i>
Heh. If you create a character with the numbers, should you give them half your treasure?
In order to convert a random floating point (0 to 1), you first must determine where the boundaries are set (0 <= x < 1 or 0 < x <= 1).
Assuming a dX type die roll desired (ie 1 to X), multiple the random floating point number times X, then either Floor it or Ceiling it (Depending on the boundaries, respectively as above). Floor (more or less drop the floating point aspect off completely) + Ceiling (if floating point is non-0, raise the integer part by 1, if it is 0, just drop the floating point).