formatN: Format "1234" to "1,234".

View source: R/bruceR_utils.R

formatNR Documentation

Format "1234" to "1,234".

Description

Format "1234" to "1,234".

Usage

formatN(x, mark = ",")

Arguments

x

A number or numeric vector.

mark

Usually ",".

Value

Formatted character string.

See Also

format, formatF

Examples

formatN(1234)


bruceR documentation built on June 22, 2024, 12:26 p.m.