isDecimal {maDB}R Documentation

Is the number a cardinal or a decimal number?

Description

isDecimal This function determines if a number is decimal, or if it has no decimal places.

Usage

isDecimal(x)

Arguments

x the number or a list of numbers.

Details

Sometimes it is useful to know if a number has decimal places, or if it is cardinal. This funciton can be used on single numbers or on a vector of numbers to solfe this problem.

Author(s)

Johannes Rainer

References

See Also

Examples

isDecimal(2)
isDecimal(2.1)
isDecimal(c(1,2.3,2,3.4))

[Package maDB version 1.2.0 Index]