powered by
checks if a number is decimal or integer and returns FALSE for decimal
is.whole(x)
true or false
a vector with numbers to check #'
is.whole(40.15) # will return FALSE is.whole(4015) # will return TRUE
Run the code above in your browser using DataLab