I am using a JSpinner with a double model.
When retreiving the values with the getValue method some values are retreived incorrectly. For example.
If in the JSpinner the value is 0.3, the getValue method retreives 0.300000000004... If it is 0.8 the value is 0.79999999999999 or with 1.9 is 1.900000000000000001
Some values (0.2, 0.3, 0.4) are retreived correctly...
What the heck is happening?