Closed noviluni closed 4 years ago
When running tox some errors are raised from the README.rst file:
1) This:
>>> output = parse_number("not_a_number") >>> output None
should be:
>>> output = parse_number("not_a_number") >>> output
(removing the None)
None
2) This:
>>> parse("two thousand thousand") 2000 1000
>>> parse("two thousand thousand") '2000 1000'
3)
And there is a trailing space after 1432524 in >>> parse_number("चौदह लाख बत्तीस हज़ार पाँच सौ चौबीस", language='hi')
1432524
>>> parse_number("चौदह लाख बत्तीस हज़ार पाँच सौ चौबीस", language='hi')
Closing as it was fixed in #35 :slightly_smiling_face:
When running tox some errors are raised from the README.rst file:
1) This:
should be:
(removing the
None
)2) This:
should be:
3)
And there is a trailing space after
1432524
in>>> parse_number("चौदह लाख बत्तीस हज़ार पाँच सौ चौबीस", language='hi')