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

Fixed kanji number output for larger numbers #19

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

carolinesweetpea
Copy link
Contributor

Fixed the Kanji output by going a little further and extracting the digit in each place, and using that to construct the Kanji along with the position.

@carolinesweetpea
Copy link
Contributor Author

fixes issue #18

@carolinesweetpea
Copy link
Contributor Author

Note this is entirely untested with HA 😅

@sopelj
Copy link
Owner

sopelj commented Nov 27, 2024

Thank you very much. The logic seems sound. I will merge this and do/add some tests to ensure this works in all cases. Thank you!

@sopelj sopelj merged commit 30f7752 into sopelj:main Nov 27, 2024
1 check passed
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