Skip to contents

Adds separating commas to big numbers.

Usage

comma_sep(number)

Arguments

number

number to be comma separated

Value

string containing comma separated number

Examples

comma_sep(100)
#> [1] "100"
comma_sep(1000)
#> [1] "1,000"
comma_sep(3567000)
#> [1] "3,567,000"