Skip to content

Commit

Permalink
Merge pull request #50 from philsf/49-revert-percentage-api-change
Browse files Browse the repository at this point in the history
49 revert percentage api change
  • Loading branch information
philsf authored Oct 22, 2018
2 parents 815a34c + 8b40642 commit 43af1e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# philsfmisc 0.6.3

- Revert the default of pct.symbol to FALSE (#49)

# philsfmisc 0.6.2

- Now uses `roxygen2` for function documentation creation ( #37 )
Expand Down
2 changes: 1 addition & 1 deletion R/format.pct.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' @author Felipe Figueiredo
#' @export format.pct

format.pct <- function(p, digits = 1, pct.symbol = FALSE) {
format.pct <- function(p, digits = 1, pct.symbol = TRUE) {
symbol <- "%"
if (!pct.symbol) symbol <- NULL
paste0(format.float(p*100, digits), symbol)
Expand Down

0 comments on commit 43af1e1

Please sign in to comment.