Changes

Jump to: navigation, search

Visual Basic Arithmetic

299 bytes added, 14:37, 7 August 2007
Visual Basic Exponentiation
intValue = 10 ^ 3
</pre>
 
== Visual Basic Modulus Arithmetic ==
 
Modulus involves the division of two numbers and obtaining the remainder of that division. Modulus calculations are performed in Visual Basic using the ''Mod'' keyword. For example:
 
<pre>
10 Mod 2 - returns 0
10 Mod 4 - returns 2
12 Mod 5 - returns 2
</pre>

Navigation menu