[bug] Incorrect results for floating point numbers. p.number_to_words(0.000001) != 'one hundred and six'
#226
Labels
p.number_to_words(0.000001) != 'one hundred and six'
#226
When converting numbers like 0.000001 to strings, python prints it as 1e-06, leading to problems with the result. For example:
One approach is to use string formatting for floating point numbers:
The text was updated successfully, but these errors were encountered: