Skip to content

Commit

Permalink
Merge pull request #42 from jgjuara/master
Browse files Browse the repository at this point in the history
elimino espacio entre signo y numero en lbl_money
  • Loading branch information
jgjuara authored Jun 14, 2023
2 parents 86769cf + 6281ae7 commit 9553761
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# comunicacion 0.0.0.9010

* Elimino espacio entre signos `$/U$S`y numero en `lbl_money`

# comunicacion 0.0.0.9009

* Arreglado bug que mezclaba template de informe y de presentacion.
Expand Down
2 changes: 1 addition & 1 deletion R/lbl_money.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ lbl_money <- function(x, decimales = 0, dolar = F, escala = 1, sufijo = NULL) {
accuracy = 1 / (10 ^ decimales),
big.mark = ".",
decimal.mark = ",",
prefix = ifelse(dolar, "US$ ", "$ "),
prefix = ifelse(dolar, "US$", "$"),
scale = 1 / escala,
suffix = ifelse(is.null(sufijo), "", paste0(" ", sufijo))
)(x)
Expand Down

0 comments on commit 9553761

Please sign in to comment.