round | R Documentation |
Rounding functions.
## S4 method for signature 'float32' ceiling(x) ## S4 method for signature 'float32' floor(x) ## S4 method for signature 'float32' trunc(x, ...) ## S4 method for signature 'float32' round(x, digits = 0)
x |
A float vector/matrix. |
... |
ignored |
digits |
The number of digits to use in rounding. |
A float vector/matrix of the same dimensions as the input.
library(float) x = flrnorm(10) floor(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.