R/utils_helper.R

dollar_cln <- scales::dollar_format(
  prefix = "$",
  suffix = "", 
  decimal.mark = ".",
  big.mark = ",", scale = 1/1000000
)

comma_cln <- scales::comma_format(
  suffix = "m",
  decimal.mark = ".",
  big.mark = ",", scale = 1/1000000
)
Curious-Joe/HollywoodApp2.0 documentation built on Dec. 17, 2021, 3:09 p.m.