Recent changes Random page
GAMING
Technology
 
Gaming
Entertainment
Science Fiction
Biggest wikis
Hobbies
Music
See more...

Operator: Mod

From Visual Basic Wiki

Jump to: navigation, search

[edit] Operator: Mod

Evaluates the remainder if n1 was divided by n2

[edit] Using

n1 Mod n2

[edit] Example

MsgBox 3 Mod 2 ' 1
MsgBox 7 Mod 5 ' 2
Rate this article:
Share this article:
.