count_as_word {humanize}R Documentation

Convert Large Counts into Friendly Text

Description

Note - currently limited to .Machine$integer.max.

Usage

count_as_word(value, fmt = "%.1f")

Arguments

value

A single positive integer

fmt

Extra number formatting supplied to sprintf

Value

Returns a string with the power of a number replaced by the appropriate word.

Examples

count_as_word(100)
count_as_word(1000000)
count_as_word(1200000000)

[Package humanize version 0.2.0 Index]