Back to Browse

Creating Random Numbers in VB.net

9.6K views
Apr 16, 2017
8:45

In this tutorial we will generate random numbers looking at how the randomize() function works and the rnd() function. Dice roll random code: iRandomNumber = Math.Ceiling(Rnd() * iDiceSize) Random number between two numbers iRandomNumber = (Math.Ceiling(Rnd() * iRange)) + iBase

Download

1 formats

Video Formats

360pmp413.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Creating Random Numbers in VB.net | NatokHD