Description Usage Arguments Details Value Examples
Round a number, preserving extra 0s.
1 | betterRound(x, digits = 2L)
|
x |
Vector of numbers to round. |
digits |
Number of digits past the decimal point to keep. |
Uses sprintf
to round a number, keeping extra 0s.
A character vector of rounded numbers.
1 2 | betterRound(51.01, 3)
betterRound(0.199, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.