Skip to content

Commit

Permalink
Merge pull request #43 from philsf/40-format.pct-symbol-false
Browse files Browse the repository at this point in the history
change default argument pct.symbol to FALSE
  • Loading branch information
philsf authored Oct 5, 2018
2 parents 96b57b3 + d5bfe17 commit 7ed1a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/format.pct.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
format.pct <- function(p, digits = 1, pct.symbol = TRUE) {
format.pct <- function(p, digits = 1, pct.symbol = FALSE) {
symbol <- "%"
if (!pct.symbol) symbol <- NULL
paste0(format.float(p*100, digits), symbol)
Expand Down

0 comments on commit 7ed1a3c

Please sign in to comment.