This function rounds values based on mathematical rules. That is, numbers ending below 0.5 round down and numbers ending with 0.5 and greater round up.
a numeric vector
number of decimal places
The value returned is a numeric vector, x, rounded to n decimals places.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.