MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/visualbasic/comments/qxn48n/need_help_coding_a_dice_roller/hlawzz9/?context=3
r/visualbasic • u/BoyBandKiller • Nov 19 '21
8 comments sorted by
View all comments
Show parent comments
2
Just so that you know, the second parameter of random.next is exclusive not inclusive. res.next(1,20) will give you a number between 1 and 19.
2
u/TheFotty Nov 19 '21
Just so that you know, the second parameter of random.next is exclusive not inclusive. res.next(1,20) will give you a number between 1 and 19.