num_to_text | R Documentation |
Spell out numbers if they are smaller than ten
num_to_text( number, sentence_start = FALSE, zero_or_no = "no", uk_or_us = "UK", big_mark = "," )
number |
Whole number as |
sentence_start |
Logical. If |
zero_or_no |
Specify what to print when the number is 0. Defaults to "no". Can be any string. |
uk_or_us |
Defaults to UK which adds an "and" between "hundred" and other numbers (e.g. "One hundred and five"). If "US" is chosen, the "and" is removed (e.g. "One hundred five"). |
big_mark |
Defaults to "," (e.g. "1,999"). |
A string
num_to_text(3) num_to_text(333, sentence_start = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.