The tool to convert amount to words in Russian/Ukrainian/English languages. Сумма прописью.
HTML Java JavaScript Groovy Dart PHP Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

moneytostr

Maven Central Build Status Coverage Status Known Vulnerabilities

The tool to convert amount to words in Russian/Ukrainian/English languages

Download

Download latest release or grab via Maven:

<dependency>
  <groupId>com.github.javadev</groupId>
  <artifactId>moneytostr</artifactId>
  <version>1.14</version>
</dependency>

or Gradle:

dependencies {
  ...
  compile 'com.github.javadev:moneytostr:1.14'
  ...
}

Usage

MoneyToStr moneyToStr = new MoneyToStr(MoneyToStr.Currency.RUR, MoneyToStr.Language.RUS, MoneyToStr.Pennies.NUMBER);
moneyToStr.convert(777.77D)

// семьсот семьдесят семь рублей 77 копеек