Skip to content

Support German with Solid text engine for NumbifyBuilder #27

@rus4j

Description

@rus4j

We want to be able to configure Numbify for German language with Solid text via NumbifyBuilder:

Numbify de = new NumbifyBuilder()
    .german(Currency.NUMBER)
    .build();

de.toText(1_024); // eintausendvierundzwanzig

Requirements

  • Add public NumbifyBuilder german(Currency currency) to NumbifyBuilder.
  • By default this method should use SolidText as text engine for int and decimal part of the number.
  • Add simple test to GermanTest, DeCurrencyTest and DeCurrencyDecimalTest.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions