isWholeNo: Determine if a Number is a Whole Number
Description
This function determines if a given number is a whole number within a given tolerance. Taken from the help page of is.integer
.Usage
isWholeNo(x, tol = .Machine$double.eps^0.5)
Arguments
tol
Tolerance for the test.
Value
- A logical, indicating the outcome of the test.
References
https://github.com/bryanhanson/ChemoSpec