Learn R Programming

schoolmath (version 0.4.2)

is.decimal: checks if a number is decimal or integer

Description

checks if a number is decimal or integer

Usage

is.decimal(x)

Value

true or false

Arguments

x

the number to check #'

Examples

Run this code
is.decimal(40.15)
is.decimal(4015)

Run the code above in your browser using DataLab