is.wholenumber: Wholenumber check

View source: R/invictor.R

is.wholenumberR Documentation

Wholenumber check

Description

Wholenumber check

Usage

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

Arguments

x

Number to check

tol

Tolerance

Value

TRUE if x is a signed integer.

Note

This code was found in the examples of is.integer.

Examples


is.wholenumber(1.2)
is.wholenumber(1)


invctr documentation built on Aug. 16, 2022, 5:18 p.m.