Description Usage Arguments Details
Round a number up
1 | round_up(x, digits = -1)
|
x |
a numeric vector. |
digits |
integer indicating the number of decimal places. Negative values are allowed (see 'Details'). |
Rounding to a negative number of digits means rounding to a power of ten, so for example round_up(x, digits = -2) rounds to the nearest hundred.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.