Skip to content

NumericWordsConverter Bug #10

@jamesmcd61

Description

@jamesmcd61

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions