as_word: as_word

Description Usage Arguments

View source: R/as_word.R

Description

Takes a numeral and converts to a word with optional sentence case. Based off the English package.

Usage

1
as_word(x = NULL, sentence = F, hyphenate = T)

Arguments

x

a numeric. Number to convert to english

sentence

a Bool. If true, the first letter is capitalised

hyphenate

a Bool. If true, compound numbers are hyphenated


JConigrave/papertools documentation built on Dec. 6, 2019, 8:51 a.m.