You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have more than one value and some have more than the thousands place and others have less than the thousands place, then all numbers are given the comma.
If I have one value that has only hundreds and not thousands, then to_currency works.
to_currency(804.32, currency_symbol = "$")
[1] "$804.32"
If I have more than one value and some have more than the thousands place and others have less than the thousands place, then all numbers are given the comma.
to_currency(toc, currency_symbol = "$")
# [1] "$ 10,093.00" "$ , 20.32" "$139,012.00" "$ ,804.32"
Can you add a check for each value to make sure that the comma is warranted?
Thank you.
The text was updated successfully, but these errors were encountered: