Showing posts with label Division. Show all posts
Showing posts with label Division. Show all posts
Wednesday, October 27, 2010
Division
Code eg: Division of two integer variables
' Declare variables
Dim NumberOne As Integer = 9
Dim NumberTwo As Integer = 3
' Create the expression
Dim Result as Integer = NumberOne / NumberTwo
The expression in this example will evaluate to 3.
Arithmetic Operators
The following are arithmetic operators. They may be used in arithmetic expressions (maths problems)
- + Addition Operator
- - Subtraction Operator
- / Division Operator
- * Multiplication Operator
Subscribe to:
Posts (Atom)