Search:

Type: Posts; User: Mr.777

Search: Search took 0.08 seconds.

  1. Re: Need more help, this time requiring the Comparable interface

    Did i mention it that you can use Math methods to compare? I said by using ceil() and floor(), you can be able to process the float values.
  2. Re: Need more help, this time requiring the Comparable interface

    Well, you can also use ceil() or floor() function of Math class, in order to compare float values to the closest.

    Suggestion: Why don't you compare the rational values instead of float values?
Results 1 to 2 of 2