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

Currency support (€, USD…) #20

Open
real34 opened this issue Dec 27, 2020 · 3 comments
Open

Currency support (€, USD…) #20

real34 opened this issue Dec 27, 2020 · 3 comments
Milestone

Comments

@real34
Copy link

real34 commented Dec 27, 2020

Thanks for this handy tool.

It would be great to support other currencies than Dollar.

meal cost = 12€
person = 4

total = person * meal cost

Here is an example of possible content to support.
There could be a generic support for currency codes (EUR, USD…) or symbols (, $…).
A next step could be currency conversion, but it might be much harder.

I don't feel experimented enough with Rust and the codebase to try implementing it, but I could give it a try if someone points me in the right direction.

@bbodi
Copy link
Owner

bbodi commented Dec 27, 2020

Hi,
Thanks for your feedback!

Yes currency and exchange rate support is on my list.

Right now the dollar sign is nothing else but a general unit for a a general currency to express that something is a 'money', not as real dollar as 'USD'. It was a quick fix to be able to do my own financial calculations.

So until the suggested currency feature has not developed, I suggest to simply use the dollar sign instead of euro.

@real34
Copy link
Author

real34 commented Dec 30, 2020

Thanks for the information.
Yes, the trick will do until a real currency support.

Should I close this issue?

@bbodi
Copy link
Owner

bbodi commented Dec 30, 2020

No, this one will be the one for the currency support 👍

@real34 real34 changed the title Euro support (€) Currency support (€, USD…) Dec 31, 2020
@bbodi bbodi added this to the 0.6.0 milestone Jan 2, 2021
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