Search:

Type: Posts; User: dicdic

Search: Search took 0.27 seconds.

  1. Thread: Exercise 86

    by dicdic
    Replies
    11
    Views
    1,828

    Re: Exercise 86

    did you import DecimalFormat?? if not,, it will obviously not known when you compile it..
    you need to import it first from import java.text.DecimalFormat..
    the "Math" class youve been using came...
  2. Thread: Exercise 86

    by dicdic
    Replies
    11
    Views
    1,828

    Re: Exercise 86

    try to parse your input to double (Double.parseDouble(input)) if input is string,, cast it to double if input is int..
    then after that,, use DecimalFormat class,, it can format your double value the...
Results 1 to 2 of 2