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

error: while type checking after reload with money conversion #183

Closed
septatrix opened this issue Sep 26, 2023 · 2 comments
Closed

error: while type checking after reload with money conversion #183

septatrix opened this issue Sep 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@septatrix
Copy link

Opening the following URL shows an error: https://numbat.dev/?q=10+%E2%82%AC+to+USD. I presume that is because monetary conversion are not loaded at that point yet...

@sharkdp
Copy link
Owner

sharkdp commented Sep 27, 2023

Thank you for reporting this.

Yes. The way currencies work right now is a bit of a hack: #177 (comment)

I have ideas on how to improve this situation, which would also solve your case. See #107 for details.

@sharkdp sharkdp added the bug Something isn't working label Sep 28, 2023
@sharkdp
Copy link
Owner

sharkdp commented Sep 28, 2023

This should work now 😄

Not just on the web, but also on the command line:

▶ numbat -e "10€ to $"

  10 euro ➞ dollar

    = 10.539 $    [Money]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants