Description
For now Numbify can be built using various TextEngine. Like:
Numbify de = new Numbify(
new German(Currency.NUMBER),
new CombinedText(
new IntText(new SolidText()), // solid text for int part
new DecimalText(new DigitByDigitText()) // digitByDigit text for decimal part
)
);
It should be possible to do the same thing through NumbifyBuilder.
Requirements
- add
digitByDigitInt(), solidInt(), customIntTextEngine(TextEngine textEngine) to set specific text engine for int part of the number
- add
digitByDigitDecimal() (already exists, fixed that), solidDecimal(), customDecimalTextEngine(TextEngine textEngine) to set specific text engine for decimal part.
- Tests
Description
For now
Numbifycan be built using variousTextEngine. Like:It should be possible to do the same thing through
NumbifyBuilder.Requirements
digitByDigitInt(),solidInt(),customIntTextEngine(TextEngine textEngine)to set specific text engine for int part of the numberdigitByDigitDecimal()(already exists, fixed that),solidDecimal(),customDecimalTextEngine(TextEngine textEngine)to set specific text engine for decimal part.