View source: R/format_digits.R
format_percent | R Documentation |
Format values to percentage format. Multiply 100 and add % symbol.
format_percent(x, digits = 1, ...)
x |
Number to format percentage. |
digits |
the desired number of digits after the decimal
point ( Default: 2 for integer, 4 for real numbers. If less than 0,
the C default of 6 digits is used. If specified as more than 50, 50
will be used with a warning unless |
... |
arguments passed to |
A formatted percent character.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.