powered by
Rounding functions.
# S4 method for float32 ceiling(x)# S4 method for float32 floor(x)# S4 method for float32 trunc(x, ...)# S4 method for float32 round(x, digits = 0)
# S4 method for float32 floor(x)
# S4 method for float32 trunc(x, ...)
# S4 method for float32 round(x, digits = 0)
A float vector/matrix of the same dimensions as the input.
A float vector/matrix.
ignored
The number of digits to use in rounding.
library(float) x = flrnorm(10) floor(x)
Run the code above in your browser using DataLab