R: Whole number or not

is.wholenumber {ibd} | R Documentation

## Whole number or not

### Description

This function checks whether a given number is whole number or not.

### Usage

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

### Arguments

`x` | A number
`tol` | Tolerance. Default is tol = .Machine$double.eps^0.5

### Value

Returns TRUE or FALSE

### Author(s)

B N Mandal <mandal.stat@gmail.com>

[Package ibd version 1.2 Index]