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

fix(core): currency placement with certain decimal positions #604

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

elijah-potter
Copy link
Collaborator

In a discussion with @sumnerevans, I was informed that the currency placement rule throws false positives when the decimal is placed in certain locations.

I will be refactoring information about numbers into their own type and fixing this bug by encoding decimal position in Harper's lexer.

@elijah-potter elijah-potter changed the title refactor(core): create dedicated type for numbers fix(core): currency placement with certain decimal positions Feb 5, 2025
@elijah-potter elijah-potter marked this pull request as ready for review February 5, 2025 21:46
@lukasmwerner
Copy link
Contributor

I know this might not be the best place to mention this so I'm happy to open a new issue. When writing Euros in a European style e.g. 10,50€ aka incorrectly writing 10 Euro 50 cents it only suggests a fix for the 50€

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

Successfully merging this pull request may close these issues.

2 participants