R/bruceR_utils.R
formatN.Rd
Format "1234" to "1,234".
formatN(x, mark = ",")
A number or numeric vector.
Usually ",".
","
Formatted character string.
format, formatF
format
formatF
formatN(1234) #> [1] "1,234"