round up in R code example
Example 1: R round float values
> round(123.456,digits=2)
[1] 123.46
Example 2: R round values up
# Round up to the next integer
ceiling(x)
> round(123.456,digits=2)
[1] 123.46
# Round up to the next integer
ceiling(x)