format_number | R Documentation |
Sets first letter of a string to capital
format_number(x, number_decimals = 0, format_EN = FALSE,
scale = c("normal", "k", "M"))
x |
The string you want to apply the formatting to |
number_decimals |
The number of decimals you want to display (default = 0) |
format_EN |
use EN notation; meaning '.' a decimal and ',' as thousands seperators. |
scale |
Used when you want to format the amount in scales (regular, per thousands or millions) |
A formatted string
format_number(1000000.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.