Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative values for currencies display the negative sign to the right of the currency symbol #235

Closed
rich-iannone opened this issue Mar 29, 2019 · 0 comments · Fixed by #232

Comments

@rich-iannone
Copy link
Member

Negative values that are formatted with fmt_currency() are incorrectly rendered. We currently get this:

library(gt)
library(tidyverse)

exibble %>%
  mutate(currency = -1 * currency) %>%
  gt() %>%
  fmt_currency(columns= vars(currency))

negative_currency

However, the first value in the currency column should be -$49.95.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant