The tool to convert amount to words in Russian/Ukrainian/English languages
Download latest release or grab via Maven:
<dependency>
<groupId>com.github.javadev</groupId>
<artifactId>moneytostr</artifactId>
<version>1.17</version>
</dependency>
or Gradle:
dependencies {
...
compile 'com.github.javadev:moneytostr:1.17'
...
}
MoneyToStr moneyToStr = new MoneyToStr(MoneyToStr.Currency.RUR, MoneyToStr.Language.RUS, MoneyToStr.Pennies.NUMBER);
moneyToStr.convert(777.77D)
// семьсот семьдесят семь рублей 77 копеек