is.wholenumber | R Documentation |
Wholenumber check
is.wholenumber(x, tol = .Machine$double.eps^0.5)
x |
Number to check |
tol |
Tolerance |
TRUE if x
is a signed integer.
This code was found in the examples of is.integer.
is.wholenumber(1.2) is.wholenumber(1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.