Search:

Type: Posts; User: copeg

Search: Search took 0.09 seconds.

  1. Replies
    6
    Views
    3,928

    Re: Question: Converting number to words.

    Integer.parseInt() is what you are looking for. If you are unsure that the String is an integer, be sure to validate it before, or catch any NumberFormatExceptions that could be thrown

    see: how to...
  2. Replies
    6
    Views
    3,928

    Re: Question: Converting number to words.

    Integer.toString() converts an int to a string....after which you can stitch the strings together.
Results 1 to 2 of 2