is.wholenumber: Test of whole number

Description Usage Arguments Value References Examples

Description

Test if a given number is a whole number

Usage

1
is.wholenumber(x, tol = .Machine$double.eps^0.5)

Arguments

x

a number to test

tol

precision to be used

Value

returns TRUE or FALSE depending on whether the number is or not a wholenumber

References

This function is described on 'is.integer' help

Examples

1
2

jdanielnd/tsgen documentation built on May 18, 2019, 10:26 p.m.