Class JKNumbersToWords

java.lang.Object
com.jk.core.util.JKNumbersToWords

public class JKNumbersToWords extends Object
This class provides utility methods for converting numeric values to words.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Constructor Details

    • JKNumbersToWords

      public JKNumbersToWords()
  • Method Details

    • convert

      public static String convert(long number)
      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

      public static void main(String[] args)
      This main method demonstrate the usage of this class.
      Parameters:
      args - the command-line arguments.