Adding really small values in java
<p>I'm am currently working on a program in java which requires adding a small constant value such as 0.00000000001 to a double variable, ex. location. However, when I run the code, debug it, and get to the place where I add  0.00000000001 to location, and check the  value of location in debug mode after the addition takes place. It appears that location doesn't have 0.00000000001 added to it. For example, location will equal 438.0 before the addition and 438.0 after the addition. Here is a example of what the simple code looks like</p>

<p>location += 0.00000000001</p>

<p>Any ideas? Thanks in advance.</p>
