Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 2 (var
Implicit variable (we can initilize a variable with the…
Chapter 2
-
-
-
NaN,undefined, and Infinity
-
NaN
If anything divided by 0 goes to infinity and anything multiplied by 0 is 0 we get a paradox with 0/0
-
Int32.Parse
Int32.Parse that you can use to convert
a string value to an integer if you need to perform arithmetic computations on values held
as strings.
Example
-
lhsOperand.txt is a string. The Parse function makes it an int so we can assign this value to an int variable
float
float floatVar;
floatVar=0.42F;
//needs the F or you get a compile error since 0.42 is read as a double