Skip to content

Commit

Permalink
Update separators
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan authored Mar 18, 2024
1 parent 7cc50a7 commit c25632c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/articles/downloads.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ reactable(
if (!is.numeric(values)) {
return()
}
prettyNum(sum(values), big.mark = ",")
prettyNum(sum(values), big.mark = ".", decimal.mark = ",")
}
),
paginationType = "jump",
Expand Down Expand Up @@ -238,7 +238,7 @@ reactable(
format = colFormat(separators = TRUE),
footer = function(values) {
p <- round(mean(values), 2)
prettyNum(p, big.mark = ",")
prettyNum(p, big.mark = ".", decimal.mark = ",")
}
),
"last day" = colDef(format = colFormat(separators = TRUE)),
Expand Down Expand Up @@ -311,7 +311,7 @@ reactable(
if (!is.numeric(values)) {
return()
}
prettyNum(sum(values), big.mark = ",")
prettyNum(sum(values), big.mark = ".", decimal.mark = ",")
}
),
paginationType = "jump",
Expand Down

0 comments on commit c25632c

Please sign in to comment.