S
ShikariShambu
Hi All,
I have an issue related with rounding and loss of precision that I can't
seem to figure. I am using System.Math.Round(decimal,2)
We have a financial systems that maintains the final data in hundredth
precision
When I do the calc the credit is off from debit by a penny
here is the rounded data
62358.9 1593.7
1547.03 62140.55
62358.9 171.69
171.69 62358.9
171.69
126436.52 126436.53
The raw data is in sync
62358.9025 1593.6975
1547.0281 62140.5475
62358.9025 171.6856
171.6856 62358.9025
171.6856
126436.5187 126436.5187
How can round the numbers such that i don't have the offset
TIA
I have an issue related with rounding and loss of precision that I can't
seem to figure. I am using System.Math.Round(decimal,2)
We have a financial systems that maintains the final data in hundredth
precision
When I do the calc the credit is off from debit by a penny
here is the rounded data
62358.9 1593.7
1547.03 62140.55
62358.9 171.69
171.69 62358.9
171.69
126436.52 126436.53
The raw data is in sync
62358.9025 1593.6975
1547.0281 62140.5475
62358.9025 171.6856
171.6856 62358.9025
171.6856
126436.5187 126436.5187
How can round the numbers such that i don't have the offset
TIA