powered by
scales::comma
Faster version of scales::comma
Comma(x, digits = 0L, big.mark = c(",", " ", "'", "_", "~", "\"", "/"))
Similar to prettyNum(round(x, digits), big.mark = ',') but rounds down and -1 < x < 0 will output "-0".
prettyNum(round(x, digits), big.mark = ',')
-1 < x < 0
"-0"
A numeric vector.
An integer, similar to round.
round
A single character, the thousands separator.