Murach's Visual Basic 2008
How to work with numeric and string data
This chapter shows you how to perform arithmetic operations on various types of numeric data and how to work with string data. Beyond that, this chapter presents three important subjects that are usually treated too lightly or too late in other books: casting, data conversion, and scope.
|
|
|
|
The built-in value types |
100 |
|
How to declare and initialize variables |
102 |
|
How to declare and initialize constants |
102 |
|
How to code arithmetic expressions |
104 |
|
How to code assignment statements |
106 |
|
How to work with the order of precedence |
108 |
|
How to use casting |
110 |
|
How to change the type semantics |
112 |
|
How to use the Math class |
114 |
|
|
How to declare and initialize
a string |
116 |
|
How to join and append strings |
116 |
|
|
The .NET structures and classes that
define data types |
118 |
|
How to use Visual Basic functions
to convert data types |
120 |
|
How to use methods to convert data types |
122 |
|
How to use three of the formatting
functions |
124 |
|
How to use methods to convert
numbers to formatted strings |
126 |
|
|
How to work with scope |
128 |
|
How to declare and use enumerations |
130 |
|
How to work with nullable types |
132 |
|
|
The basic Invoice Total application |
134 |
|
The enhanced Invoice Total application |
136 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|