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.

No comments:

Post a Comment