-
Notifications
You must be signed in to change notification settings - Fork 71
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
opposite of currencytonum #660
Comments
Thank you, I'll wait for the auto-updated version, test and report back :-)-O I like the conversion idea. I'll write up another little recipe in the cookbook how to get the latest exchange rates from the ECB (into a pipe) |
That'd be great @ondohotola! As a qsv power user, please do not hesitate to add recipes to the cookbook. It sorely needs to be seeded with more content. |
If I do something like
I receive something like
and this
yields
But the result of this
is rather unexpected
In other words a non-numeric value should be unchanged |
Is your feature request related to a problem? Please describe.
Large floats (amounts like
1234567.9394
) are difficult to readDescribe the solution you'd like
I would like to be able to see something like
1,234,567.94
by way ofqsv apply operations enumtocurrency --round 2
or even1,234,567.94 EUR
by way ofqsv apply operations enumtocurrency --round 2 --currency "EUR"
and of course the thousands separator should be locale dependent, ie the Germans like1.234.567,94
Describe alternatives you've considered
I could not find a simple way of formatting this with lua(u) and anyway, mapping only works for single columns whereas
qsv apply operations currencytoenum 1-
works very well.I have no clue about Python which in any case is not compiled into the distributed versions I have
Additional context
none
The text was updated successfully, but these errors were encountered: