CalcQuick

I am using CalcQuick in an ASP.NET page to perform unit conversion. For whatever reason, it refuses to perform any calculation with decimal values. (I have AutoCalc = FALSE and use the ParseAndCompute method when I want to perform conversions). I''ve attached a little session I did with the Command window while the program was in break mode...what gives? Version 3.301 btw. >? _calc.ParseAndCompute("[mill_diameter]") "10.8232" >? _calc.ParseAndCompute("[X]") "10.3039" >? _calc.ParseAndCompute("100*[X]/(42.29/SQRT([mill_diameter]))") "invalid expression" >? _calc.Engine.ParseAndComputeFormula("100*[X]/(42.29/SQRT([mill_diameter]))") Run-time exception thrown : System.ArgumentException - invalid characters following an operator >? _calc.Engine.ParseAndComputeFormula("=100*[X]/(42.29/SQRT([mill_diameter]))") Run-time exception thrown : System.ArgumentException - invalid characters following an operator >? _calc.ParseAndCompute("42") "42" >? _calc.ParseAndCompute("42.29") "invalid expression"

4 Replies

AD Administrator Syncfusion Team January 14, 2006 01:07 PM UTC

Hi David, I would really appreciate it if you could provide us a small sample that exhibits this behavior. We will try analyzing it here. Best Regards, Jeba.


DT Dave Taylor January 17, 2006 08:03 PM UTC

I''m not sure how it got into that state, but rebooting fixed it. Thanks Dave


DT Dave Taylor February 10, 2006 07:18 PM UTC

This problem has come up again..it seems to run for awhile and then stop. And once in this mode, no valid expression seems to work. Any expression that starts with an = results in a message about not being able to start with a binary operator (yet the exact same expression works prior to the error occurring). >I''m not sure how it got into that state, but rebooting fixed it. > >Thanks > >Dave


AD Administrator Syncfusion Team February 16, 2006 09:38 AM UTC

Hi David, Sorry for the delay in response. I was not able to reproduce the issue. Could you please give me some more information regarding how to implement the issue in a small sample. We will try analyzing it here. Best Regards, Jeba.

Loader.
Up arrow icon