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

from_currency with comma as decimal delimiter drops decimal values #5

Open
lodderig opened this issue Dec 1, 2017 · 1 comment
Open

Comments

@lodderig
Copy link

lodderig commented Dec 1, 2017

when using from_currency with strings with a comma as decimal delimiter, the decimal part is dropped

value<-"$ 1 234,5"
lucr::from_currency(value, decimal_delim = ",")
[1] 1234
@christian-beckmann
Copy link

christian-beckmann commented Nov 14, 2018

Is there any fix for this?

from_currency("800,30",decimal_delim = ",")
800

should be 800.30

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

No branches or pull requests

2 participants