num_to_text.RdConvert a small number to a text representation
num_to_text(x, capitalize = FALSE)
| x | An integer to convert to text. |
|---|---|
| capitalize | Boolean - whether or not to capitalize text |
A character string.
num_to_text(5, capitalize = TRUE)#> [1] "Five"num_to_text(23, capitalize = FALSE)#> [1] "twenty-three"