INT
This is the same behavior as the SAS INT
command
## What does this code return?
oops <- as.integer(percent_crew)
oops
[1] 26
## There are FEW reasons to declare an Integer.
How can both statements be correct?
(3 - 2.9)
[1] 0.1
(3 - 2.9) == 0.1
[1] FALSE
See next slide for GORY details.
print(3 - 2.9, digits=20)
[1] 0.10000000000000008882