Package com.jk.core.util
Class JKNumbersToWords
java.lang.Object
com.jk.core.util.JKNumbersToWords
This class provides utility methods for converting numeric values to words.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JKNumbersToWords
public JKNumbersToWords()
-
-
Method Details
-
convert
This method converts a given long number to its equivalent string representation in words.- Parameters:
number
- Specifies the input number to be converted.- Returns:
- the string representation of the number in words.
-
main
This main method demonstrate the usage of this class.- Parameters:
args
- the command-line arguments.
-