Description Usage Arguments Value
Print exact decimal places
1 | digits(x, k = 2)
|
x |
Vector of numbers. |
k |
Number of decimal places. |
A character vector of the number rounded to k decimal places.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.