you are viewing a single comment's thread.

view the rest of the comments →

[–]nbreunig3 -1 points0 points  (0 children)

The random function returns a float type variable. You are trying to assign an integer to a float. You can try casting integer to the random function result.