Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1995
Roundup Issue
posted

Mike,

I am using Infragistics v10.1. In my grid i am using formula to show the round off value. I used "Roundup" in the formula. Every thing is working fine except some value.

For example for the value "17593512.76" it gives "17593512.77", "17593512.67" it give "17593512.68", "17593512.85" it gives "17593512.86" and for "17593512.94" it give "17593512.95".

But it is showing the same value in excel.

Is there any logic in round up?

For you reference i attached a sample application with this post.

Steps to reproduce :

a) Run the application

b) Enter value "17593512.76", or "17593512.67", or "17593512.85" or "17593512.94" in the column "Payment"

c) Check the value in column "unboundcolumn1"

Guide me to solve this issue.

Parents
  • 469350
    Offline posted

    Hi Suresh,

    I took a look and I get the same results. This seems like a bug to me.

    It has something to do with the imprecise nature of the Double data type, which is what the CalcManager uses for all calculations.

    I will forward this over to Infragistics Developer Support so they can create a case for you and write this up for developer review.

    Of course, v10.1 of NetAdvantage is retired, so any fix for this issue will only be available in the latest versions.

     

Reply Children