Results 1 to 10 of 10

Thread: Easy Random Number Function (Min, Max & Round)

Hybrid View

  1. #1

    Thread Starter
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Re: Easy Random Number Function (Min, Max & Round)

    I think you are missing the point. It is suppose to be all purpose. As in I can put that module into anything and use it to get any kind of random number. If all I wanted to do was get 3 random numbers then that would be fine.

    Also, you don't need + 0 after everything.
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

  2. #2
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    Re: Easy Random Number Function (Min, Max & Round)

    Quote Originally Posted by eyeRmonkey
    I think you are missing the point. It is suppose to be all purpose. As in I can put that module into anything and use it to get any kind of random number. If all I wanted to do was get 3 random numbers then that would be fine.

    Also, you don't need + 0 after everything.

    yes you do need 0 after every single rendom generated number
    1) If your post has been adequately answered please click in your post on "Mark Thread Resolved".
    2) If someone has been useful to you please show your respect by rating their posts.
    3) Please use [highlight="VB"] 'your code goes in here [/highlight] tags when posting code.
    4) Before posting your question, make sure you checked this links:
    MICROSOFT MSDN -- VB FORUMS SEARCH

    5)Support Classic VB - A PETITION TO MICROSOFT

    ___________________________________________________________________________________
    THINGS TO KNOW ABOUT VB: || VB Examples/Demos
    What are Classes?
    || -
    Where to place a sub/function?(global) || Webbrowser control

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Easy Random Number Function (Min, Max & Round)

    Quote Originally Posted by wiz126
    yes you do need 0 after every single rendom generated number
    If you actually think about it, it's completely pointless

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width