SyntaxFix
Write A Post
Hire A Developer
Questions
I am not sure what you are trying to accomplish. But here are some thoughts: 1. Convert to integer: num = as.integer(123.2342) 2. Check if a variable is an integer: is.integer(num) typeof(num)=="integer"
num = as.integer(123.2342)
is.integer(num) typeof(num)=="integer"