Lecture 4
17
Decimal arithmetic
•primitive type double (also float)
•there are maximum and minimum values
•6.023E23 is acceptable input
•+, - , *, >, >= , <, <=, ==  do what you expect them to
•use () to alter order of operations
•you can mix int and double in formulas
•/ works properly (20.0/6 is 3.33333…)
•