TheoryOfNekomata
efe4291dce
Fix logic with no hundreds place between groups
Ensure digits parse correctly when there are gaps.
1 ano atrás
TheoryOfNekomata
fd0ea31fe4
Refactor code
Make code more cleaner when parsing.
1 ano atrás
TheoryOfNekomata
b57b7ac8ea
Format code
Format more sections of the code.
1 ano atrás
TheoryOfNekomata
b0762fd47c
Update lint
Use ESLint for formatting.
1 ano atrás
TheoryOfNekomata
4022962dc5
Rewrite package
Include parse and stringify functions for American short-count locale.
1 ano atrás
TheoryOfNekomata
7a890bbeef
Trim input, update TODO
The inputs are now trimmed before conversion.
The TODO items are updated for possible correct formats.
3 anos atrás
TheoryOfNekomata
3f79f6f9fe
Add example
The example Website shall be used to showcase the capabilities of
Numerica.
3 anos atrás
TheoryOfNekomata
1e67424067
Implement ordinals, refactor code
Ordinals have been implemented in both English and German (tho I'm not
sure how to check correctness of German number names and ordinals).
Also, refactored code to have common rules for a language, and special
rules for each variant (in the future, French will have this structure
handy).
3 anos atrás
TheoryOfNekomata
1b45838a64
Reimplement tests from archive
Make sure cases from chongo are accounted for.
3 anos atrás
TheoryOfNekomata
33201e4020
Initial commit
Add files from pridepack.
3 anos atrás