Releases: jakewilliami/SpelledOut.jl
v1.2.4
Add generic type fallback for multiple dispatch! v1.2.4
When you call spelled_out with an unknown number type, it should tell you that it's not supported, rather than doing the Pythonic thing of trying to use it until it fails with a poor error message. Multiple dispatch is very convenient to use in this case, but we need to specify the fallback function manually. This is what is implemented in this version of SpelledOut.jl
See merge request #62
Full Changelog: v1.2.3...v1.2.4
v1.2.3
Fix spelled out function for complex numbers in English! v1.2.3
Complex numbers are spelled out very close to their mathematical representation. This requires slightly special handling.
For instance, 2 + 3i is said as "two plus three i." This was not previously how we printed them (see #15). The current version is much accurate as far as my research shows.
Closes #43
See merge request #61
Full Changelog: v1.2.2...v1.2.3
v1.2.2
Fix spelled out function for negatives in English! v1.2.2
Negative numbers were not spelled out properly for small numbers or for rationals. This version fixes these errors.
See merge request #60
Full Changelog: v1.2.1...v1.2.2
v1.2.1
Fix deprecation warning on Formatting.jl package! v1.2.1
Formatting.jl is deprecated (as of March, 2024), in favour of JuliaString's Format.jl. The API we are using to format numbers is the same, and this dependency change does not change any of the functionality for users of SpelledOut.jl.
This fix was implemented by @pmc4.
See merge request #57
Full Changelog: v1.2.0...v1.2.1
v1.2.0
Add Portuguese language support! v1.2.0
Add Portuguese language support; optimisations for English implementation
Merged pull requests:
- correct syntax for british spell out in docs by @rick2047 in #51
- added Portuguese - Brazil by @Gabrielforest in #52
- Optimise English implementation by @jakewilliami in #53
v1.1.1
Big float bug fix! v1.1.1
Big float bug fix, code clean up, and handling of Rational number types
Closed issues:
- Implement Floating Point spelled out using modf (#14)
- Implement Complex Number spelled out (#15)
- Bigger float don't work (#37)
- Allow parsing of irrationals (#38)
- Allow parsing of rationals (#39)
- Add fallback error message for number types not supported (#41)
- Stop Linux x86 (32-bit) support (#46)
Merged pull requests:
- Bigfloats (#44) (@jakewilliami)
- Added fallback to error for bad input type (closes #41) (#45) (@jakewilliami)
- Added parsing for rational numbers (closes #39) (#47) (@jakewilliami)
- Added method handling irrational numbers (closes #38, but open questi… (#49) (@jakewilliami)
v1.1.0
SpelledOut v1.1.0
Added Spanish to list of supported languages
Closed issues:
- Parse number without scientific notation (#32)
Merged pull requests:
- Default language to system locale (suggestion by @rmsrosa) (#29) (@jakewilliami)
- Allowed english SpelledOut to parse big numbers in scientific notation (#33) (@jakewilliami)
- Added formatting dependency to docs-specific dependencies (#34) (@jakewilliami)
- CompatHelper: add new compat entry for "Formatting" at version "0.4" (#35) (@github-actions[bot])
- add spanish (#36) (@longemen3000)
v1.0.3
SpelledOut v1.0.3
Rectified long error message (issue #25)
Closed issues:
- Long error message (#25)
Merged pull requests:
- Universal (#26) (@jakewilliami)
v1.0.2
SpelledOut v1.0.2
Minor update for lang flag after refactor to support multiple languages
Merged pull requests:
- CompatHelper: add new compat entry for "DecFP" at version "1.1" (#21) (@github-actions[bot])
- Refactored for setup for multiple language support (#23) (@jakewilliami)
v1.0.1
SpelledOut v1.0.1
Bug fix with twenty-x
Closed issues:
- 28-million bug fix (#12)
Merged pull requests:
- Dev (#13) (@jakewilliami)