java Number to Words

 

copy this code file NumberInWords.java


how to use: 

public static void main(String[] args) {

       String word = NumberInWords.convertNumberToWords(192001001);

       System.out.println(word);

}



source: https://www.rgagnon.com/javadetails/java-0426.html

Komentar

Postingan populer dari blog ini

whois

Membuat export dan import Excel di spring boot

Spring Boot CRUD Thymeleaf-Pagination + Bootstrap Dynamic Modals