number_to_word | R Documentation |
Convert a number into an English word
number_to_word(x, th = FALSE, cap_first = FALSE)
x |
The number to change into English |
th |
Make the word end in 'st', 'nd', 'rd', or 'th' |
cap_first |
Capitalize the first letter of the resulting word |
English text representing the number given
number_to_word(1)
number_to_word(999999, th = TRUE)
number_to_word(101, cap_first = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.