Round a number, preserving extra 0's.
myround(x, digits = 1)
Number to round.
Number of digits past the decimal point to keep.
base::sprintf() to round a number, keeping extra 0's.
A vector of character strings.
myround(51.01, 3) myround(0.199, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.