You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Regards James
The text was updated successfully, but these errors were encountered:
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.
Regards James
The text was updated successfully, but these errors were encountered: