Format numbers to add commas to thousands
add_commas.Rd
Format numbers to add commas to thousands
Examples
x <- c(1000, 10000, 20000, 100, 4000)
add_commas(x)
#> [1] "1,000" "10,000" "20,000" "100" "4,000"
add_commas.Rd
Format numbers to add commas to thousands
x <- c(1000, 10000, 20000, 100, 4000)
add_commas(x)
#> [1] "1,000" "10,000" "20,000" "100" "4,000"