Closed ibmua closed 7 years ago
I would also highly advice making turning 'a' into 1s optional.
Also, stuff like one-thirty doesn't work. Should be 1 30, got 31. And one thirtieth gives the same thing, when it should really be 1/30.
'thousand' / 'million' / 'billion' => 0
Incredible!
sorry for the delay, I will be pushing a fix tomorrow. Completely refactored the whole library using ohm.js so now things will work much better
fixed in fc621fed10c9aa2047059da35472de59f48351ee (v1.2.2 on npm) everything except for "one thirtieth". Im treating fractions as a feature and will get to them sometime in the near future. closing this issue because the bugs you found are now fixed. thanks for the feedback
'digit one' will not work, but 'digit one ' will. Bug.