powered by
Numeric vector with accounting format
accounting(x, digits = 2L, format = "f", big.mark = ",", ...)# S3 method for default accounting(x, digits = 2L, format = "f", big.mark = ",", ...)# S3 method for character accounting(x, digits = max(get_digits(x)), format = "f", big.mark = ",", ...)
# S3 method for default accounting(x, digits = 2L, format = "f", big.mark = ",", ...)
# S3 method for character accounting(x, digits = max(get_digits(x)), format = "f", big.mark = ",", ...)
a numeric vector.
an integer to indicate the number of digits of the percentage string.
format type passed to formatC.
formatC
thousands separator
additional parameters passed to formattable.
formattable
# NOT RUN { accounting(15320) accounting(-12500) accounting(c(1200, -3500, 2600), format = "d") accounting(c("123,23.50", "(123.243)")) # }
Run the code above in your browser using DataLab