count_as_ordinal: Transform a count to an ordinal string

Description Usage Arguments Value Examples

View source: R/number.R

Description

Transform a count to an ordinal string

Usage

1

Arguments

value

A single positive integer

Value

A string with the ordinal representation of a number

Examples

1
2

Example output

[1] "1st"
[1] "111th"

humanize documentation built on May 2, 2019, 6:39 a.m.