View source: R/format_number.R
format_number | R Documentation |
Convert number to words
format_number(x, textual = TRUE, ...)
x |
Number. |
textual |
Return words. If |
... |
Arguments to be passed to |
A formatted string.
The code has been adapted from here https://github.com/ateucher/useful_code/blob/master/R/numbers2words.r
format_number(2)
format_number(45)
format_number(324.68765)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.