powered by
Spell out an integer as a word, for use in reports/papers.
spell_out(number, capitalize = FALSE, max_value = 9)
Character string (or vector of character strings) with numbers spelled out, or as numerals if large.
A number that is to be spelled out (can be a vector).
If TRUE, capitalize the first letter.
Maximum value to use (generally 9); if larger than this, use numerals.
spell_out(9) spell_out(9, cap=TRUE) spell_out(9, max_value=5)
Run the code above in your browser using DataLab