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