Description Usage Arguments Examples

Rounds a numeric value and formats it as a string, keeping trailing zeroes.

1 | ```
round2(x, digits = 2)
``` |

`x` |
Numeric value to round |

`digits` |
Digits for rounding |

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.