Learn R Programming

insight (version 0.18.6)

format_number: Convert number to words

Description

Convert number to words

Usage

format_number(x, textual = TRUE, ...)

Value

A formatted string.

Arguments

x

Number.

textual

Return words. If FALSE, will run format_value().

...

Arguments to be passed to format_value() if textual is FALSE.

Examples

Run this code
format_number(2)
format_number(45)
format_number(324.68765)

Run the code above in your browser using DataLab