Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    1,065

    Re: Java Math Curiosity

    That is how floating point variables work.
    If you want to see different values displayed when printing floating point variables, use a formatting class like the DecimalFormat class or the printf()...
  2. Replies
    3
    Views
    1,065

    Re: Java Math Curiosity

    Floating point numbers can not be represented exactly in a computer.
Results 1 to 2 of 2