Avoid Rouding Off in Parallel Job, 7.5.2 version
Posted: Mon Dec 06, 2010 8:09 pm
I have a source data file (dataset) that has a column defined as varchar(17). The column contains decimal values (11 places after decimal). Example:
0.28765498765
1.98198765200
1936.27000000000
I want to sum up column values but without any rounding. Example below....
Example: A
1936.27000000000
1432.12340000000
----------------------
3368.39340000000
Example: B
0.28765498765
1.98198765200
----------------------
2.26964263965
I am not getting the sum value correctly. When I am summing it's rounding off. How can I get exact summed value?
0.28765498765
1.98198765200
1936.27000000000
I want to sum up column values but without any rounding. Example below....
Example: A
1936.27000000000
1432.12340000000
----------------------
3368.39340000000
Example: B
0.28765498765
1.98198765200
----------------------
2.26964263965
I am not getting the sum value correctly. When I am summing it's rounding off. How can I get exact summed value?