Just a heads up for informatino.
Random generates a float number between X and Y. This includes x.x and y.y. The number always creates a decimal value. So
1.000000 to 1.9999999
What nimos does is generate a float value of 0.0 to 1.9, then adds + 1 for a solid 1.0 to 2.9.. then uses the int to truncate the decimal value off.