Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Invalid Output #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kylosnote
Copy link

@kylosnote kylosnote commented May 2, 2018

Fix #24

if you try
print(w2n.word_to_num('nine billion nine thousand '))
print(w2n.word_to_num('nine million nine thousand '))
it will show invalid output,
the code fix this.

Fix problem with large number without hundred
see akshaynagpal#24
@codecov
Copy link

codecov bot commented May 2, 2018

Codecov Report

Merging #25 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #25   +/-   ##
======================================
  Coverage    96.8%   96.8%           
======================================
  Files           2       2           
  Lines         125     125           
======================================
  Hits          121     121           
  Misses          4       4
Impacted Files Coverage Δ
word2number/w2n.py 95.12% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 33aac8a...22e5744. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error output
1 participant