Description Usage Arguments Value Examples
Check if x is a whole number
1  | is.wholenumber(x, tol = .Machine$double.eps^0.5)
 | 
x | 
 number to test  | 
tol | 
 the allowed tolerance  | 
boolean indicating whether x is tol away from a whole number value
1 2  | is.wholenumber(1)
is.wholenumber(0.5)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.