nfell2009

Random Function

Dec 17th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.18 KB | None | 0 0
  1.     Dim iUpperBound As Integer = 15
  2.     Dim iLowerBound As Integer = 0
  3.         iTemp = Int(Rnd() * iUpperBound + iLowerBound) 'Randomly creating a number between the upper and lower bounds
Advertisement
Add Comment
Please, Sign In to add comment