Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remainder function 1

Status
Not open for further replies.

Bygbobbo

Programmer
Apr 23, 2002
145
US
What is the Math function that returns the division remainder?

Thanks in advance,
Bygs
 
Mod() fumction

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Thanks

Do you have an example of how to use this..

I keep getting compilation errors Im not sure of the correct syntax.

Bygs
 
You could try VBHelp - just type in Mod, put the cursor over it and hit F1

Alternatively I could do it for you:
x = 7
y = x mod 3
debug.print y ' produces 1

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
I tried the help, I have no msdn loaded and can't find my library disks.

When I do a search for Mod on microsofts msdn I cant find it.

Thanks you get a star, for fast delivery.

Bygs
 
Thank you. There is also a set of help files on your Vb (or Visual Studio) installation disks

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top