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

NumericWordsConverter Bug #10

Open
jamesmcd61 opened this issue Oct 19, 2023 · 1 comment
Open

NumericWordsConverter Bug #10

jamesmcd61 opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jamesmcd61
Copy link

Hey Samyeak

Something i noticed when trying this code was the ToWords method has a missing CultureInfo.InvariantCulture. On line 54 where the fractionalDigitsString is built up you seem to do a Decimal.Parse. That parse is missing it, i can see you do it on the ToString within the Parse, and to the Tostring outside of the parse. but not within the decimal.parse section.This then inturn causes the exception "Input string was not in a correct format.". If this possibly can be added please.
image

Regards James

@Samyeak Samyeak self-assigned this Jan 2, 2024
@Samyeak Samyeak added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jan 2, 2024
@Samyeak
Copy link
Owner

Samyeak commented Jan 2, 2024

Thank you. Will fix it and publish. :)

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