powered by
This function checks whether an input vector or value is a numeric non-integer (double), depending on fractional parts of the value(s).
is_float(x)
A value, vector or data frame.
TRUE if x is a floating value (non-integer double), FALSE otherwise.
TRUE
x
FALSE
# NOT RUN { is.double(4) is_float(4) is_float(4.2) is_float(iris) # }
Run the code above in your browser using DataLab