Skip to contents

Convert numeric to string

Usage

english2(x, digits = 2)

Arguments

x

A numeric

digits

integer indicating the number of decimal places

Value

A character string

Examples

english2(45)
#> [1] forty-five
english2(12.34)
#> [1] "twelve point three four"