- Change
format_number
to returnFormatResult
instead of astr
- Remove
RulesetName
enum and addFormatPurpose
instead - Add
purpose
toformat_number
, which selects all relevant rulesets - Allow multiple ruleset names in
format_number
(prefer usingpurpose
) - Require an
RbnfEngine
to have a single language
- Remove soft hyphens by default (U+00AD)
- Search for special rules in replacement rules
- Fix zero remainder rules
- Add
get_supported_languages
method to engine - Fix issue with "x,x" improper fraction rule
- Compute tolerance against rounded value instead of floor
- Use Decimal for string input
- Add command-line interface
- Initial release