Description Usage Arguments Examples
Title
1 | round_better(x, roundTo, dir = NULL)
|
x |
number to be rounded |
roundTo |
a number to round to "the closest of" |
dir |
optional directional argument. "Up" always rounds up, "Down" always rounds down |
1 2 | #round_better(7924,1000,"Up")
#round_better(7924,11)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.