Dear All.
I am using JTable having values in column 3.
I am getting values from it using jTable.getValueAt(1,1).toString;
Then i use Double/Float/Integer/Long etc to convert data.
My data having values 999,999,999,999.99
Problem is that thru any of above option i get 9.9999999999999
in sum of different values. My jTable contents number of values positive and negative.
Can anyone help me where i m wrong or is there any other way to solve my this problem.
I am using the same below method except Double.parseDouble(), Integer.parseInt() etc etc
I am using JTable having values in column 3.
I am getting values from it using jTable.getValueAt(1,1).toString;
Then i use Double/Float/Integer/Long etc to convert data.
My data having values 999,999,999,999.99
Problem is that thru any of above option i get 9.9999999999999
in sum of different values. My jTable contents number of values positive and negative.
Can anyone help me where i m wrong or is there any other way to solve my this problem.
I am using the same below method except Double.parseDouble(), Integer.parseInt() etc etc