R/formatCommas.R

#' Format table columns
#'
#' @note For use with `DT` package
#' @seealso formatID
#' @importFrom DT formatCurrency
#'
#' @export
formatCommas <- function (table, columns) {

  DT::formatCurrency(table, columns, currency = "")

}
BAAQMD/strtools documentation built on Nov. 23, 2023, 5:52 a.m.