Skip to contents

Format "1234" to "1,234".

Usage

formatN(x, mark = ",")

Arguments

x

A number or numeric vector.

mark

Usually ",".

Value

Formatted character string.

See also

Examples

formatN(1234)
#> [1] "1,234"