powered by
Boolean for evaluating whole numbers
is.whole(a, tol = 0.0000001)
A Boolean indicating if number is whole or float
A numeric vector to evaluate, only first element will be evaluated
numeric >= 0, differences smaller than tolerance are not reported
Jeffrey S. Evans <jeffrey_evans@tnc.org>
is.whole( 1 ) is.whole( 1.5 ) is.whole( 0.5 )
Run the code above in your browser using DataLab