Changes

Jump to: navigation, search

Visual Basic Arithmetic

5 bytes removed, 18:58, 9 April 2009
no edit summary
Given this order of precedence, our example will evaluate in the order of multiplication followed by addition resulting in a value of 104.
Now that we understand what ''expressions'' are and the order of operator precedence we can move onto on to look at operators in action.
== Visual Basic Addition ==
== Visual Basic Exponentiation ==
Exponentiation involves raising a number to a particular power. For example 10<sup>3</sup> which would evaluate to 1000. The carat (^) character is used to represent exponentiation in Visual Basic:
<pre>

Navigation menu