Your use of ROUND halves the probabilities of the endpoints.

If you want uniform distribution between 1 and 10,

=int(rand()*10) + 1