Format a numeric as rounded dollars

format_round_dollar(value)

Arguments

value

numeric

Value

character

Examples

format_round_dollar(1234.56) # Returns "$1,235"
#> [1] "$1,235"