Search:

Type: Posts; User: helloworld922

Search: Search took 0.19 seconds.

  1. Replies
    8
    Views
    2,127

    Re: 2 errors I can't understand

    I'm simply trying to define the scale at which you should be worried about using floats vs. doubles and ints vs. longs.

    For all practical monetary values, you probably won't see these problems...
  2. Replies
    8
    Views
    2,127

    Re: 2 errors I can't understand

    Doubles are subject to the same problem in Java or in C/C++.

    It all has to deal with the way floating point numbers are represented.

    When you use an integer/long value, you're guaranteed to...
Results 1 to 2 of 2