If I want to create a diceroll from 1 to 6 I write
RandomInteger[{1, 6}] ;
How do a create an average number in decimalform from say 10^6 Rolls?
This works:
Mean[RandomInteger[{1, 6}, 10^6]] // N
M.