modify lang_EN_IN.py by adding higher power, which are not necessarily increasing in power 2 or 3.
n="12345678901234567890123456789012345678901234567890123456789012345"
print(num2words(n,lang ='en_IN') + ' (IND) ') results into
"one hundred and twenty-three mahaugha, forty-five thousand, six hundred and seventy-eight ogha, ninety thousand, one hundred and twenty-three samudra, forty-five thousand, six hundred and seventy-eight mahakharav, ninety thousand, one hundred and twenty-three kharav, forty-five thousand, six hundred and seventy-eight mahapadam, ninety thousand, one hundred padam (IND)"
truncation of trailing digits happens.
Steps to reproduce
modify lang_EN_IN.py by adding higher power, which are not necessarily increasing in power 2 or 3 .. as follows
print(num2words(n,lang ='en_IN') + ' (IND) ')
lang_EN_IN.py.txt
Note if it seems to work fine if power are increasing in 10** 2 i.e upto [10** 17](shankh)
Expected Behaviour
Numbers when spelled should not get truncated
Actual Behaviour
modify lang_EN_IN.py by adding higher power, which are not necessarily increasing in power 2 or 3. n="12345678901234567890123456789012345678901234567890123456789012345" print(num2words(n,lang ='en_IN') + ' (IND) ') results into "one hundred and twenty-three mahaugha, forty-five thousand, six hundred and seventy-eight ogha, ninety thousand, one hundred and twenty-three samudra, forty-five thousand, six hundred and seventy-eight mahakharav, ninety thousand, one hundred and twenty-three kharav, forty-five thousand, six hundred and seventy-eight mahapadam, ninety thousand, one hundred padam (IND)" truncation of trailing digits happens.
Steps to reproduce
10** 2 i.e upto [10** 17](shankh)