Results 1 to 3 of 3

Thread: [2005] How to use 'Modulo' in VB

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Location
    Australia
    Posts
    237

    [2005] How to use 'Modulo' in VB

    How do I use Modulo in VB?

    in Flash its the '%' symbol

    Edit:

    Anyone know what Modulo is?

    Modulo(10, 3) = 1, it gets the remainder of a divison
    Last edited by Icyculyr Fr0st; May 23rd, 2007 at 12:34 AM.

  2. #2
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863

    Re: [2005] How to use 'Modulo' in VB

    in VB6 it used to be:
    Code:
    IntValue= 10 Mod 3
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

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

    Re: [2005] How to use 'Modulo' in VB

    As it is in VB.NET.

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