Description Usage Arguments Value Examples
Format number to n decimal places
1 | trim_n(x, n_dec = 1)
|
x |
Numeric to be formatted. |
n_dec |
Numeric for number of digits to format after the decimal. |
The formatted x
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.