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
Problem in Roundup and Rounddown
posted

Mike,

I am using Infragistics v11.2 service release 2004. I am facing a small issue while using Round up and Round Down.

When i give the value below "0.0901" and roundup the value using "Calcmanager" i got error "Specified cast is not valid". Is there any logic behind this problem?

I attached a sample application with post.

Steps to reproduce the error.

a) Run the application

b) Enter value 0.0901 or above in Round up or Round down control 

c) Click "Calc" button

d) Result : The value will post in the Result control

e) Now enter value "0.0900" or below.

f) Click "Calc" button

g) Now we got the issue "Specified cast is not valid"

Guide me to solve this problem.

 

CalcIssue.zip