Skip to content

gabriel-deliu/numeric-speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

numeric-speech

Provides the means to translate a number in its word equivalent.

supported languages

For now only English is supported.

limitations

Only numbers between 0 and 999999999 are currently supported.

use

import com.rabriel.commons.numericspeech.NumericTranslator;
import com.rabriel.commons.numericspeech.impl.EnglishNumericTranslator;
...
NumericTranslator numericTranslator = new EnglishNumericTranslator();
String numericTranslation = numericTranslator.translate(1234567); 
//one million two hundred thirty four thousands five hundred and sixty seven

About

Provides the means to translate a number in its word equivalent.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages