Use prettyNum()
to format numbers
fmt_pretty(big.mark = ",", ..., scientific = FALSE)
big.mark, scientific, ... | Passed to |
---|
An object you can pass into number_format()
.
Other format functions:
fmt_percent()
#> Type Price Sales #> Strawberry 1.90 35,000 #> Raspberry 2.10 55,500 #> Plum 1.80 20,000 #> #> Column names: Type, Price, Sales