moneytostr
v1.0.0
Published
The utility class to convert amount to words in Russian/Ukrainian/English languages
Downloads
3
Readme
moneytostr
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.18</version>
</dependency>
or Gradle:
dependencies {
...
compile 'com.github.javadev:moneytostr:1.18'
...
}
Usage
MoneyToStr moneyToStr = new MoneyToStr(MoneyToStr.Currency.RUR, MoneyToStr.Language.RUS, MoneyToStr.Pennies.NUMBER);
moneyToStr.convert(777.77D)
// семьсот семьдесят семь рублей 77 копеек