simulate Looping using NCalc

I am using NCalc (Codeplex library) to evaluate expressions from a text file. I want to simulate a loop like this : int i = 0; do { Console.WriteLine("Value of I is :: {0}", i); i++; } while ...

Id #28360 | Release: None | Updated: May 24 at 3:55 PM by gauripadbidri | Created: May 24 at 3:55 PM by gauripadbidri

BigInteger issue

Hello, I tried to create a custom function fact() with BigInteger parameters for counting factorial with big numbers. If I use just the function itself then there is no issue but it is not workin...

Id #28359 | Release: None | Updated: Feb 22 at 7:40 PM by jamasvk | Created: Feb 18 at 8:35 PM by jamasvk

Expression incorrectly evaluated for NaN operands

For the statements below: string expression = "a > 0 && b < 10"; Expression e2 = new Expression(expression); e2.Parameters["a"] = 10; e2.Parameters["b"] = double.NaN...

Id #28358 | Release: None | Updated: Feb 10 at 4:44 PM by lmsasu | Created: Feb 10 at 4:43 PM by lmsasu

System.OverflowException

Whit this expressión: "0 | 956301312" The exception raised is: System.OverflowException - > Value too large or too small for UInt16. Some solution to avoid this exception???

Id #28357 | Release: None | Updated: Dec 5, 2016 at 8:23 AM by jandtxu | Created: Dec 5, 2016 at 8:23 AM by jandtxu

nCalcExpression.EvaluateFunction += removes support of the pre-existing if() function

nCalcExpression.EvaluateFunction += removes support of the pre-existing if() function For example: var nCalcExpression = GetNCalcExpression("if(1<2,'true','false')"); nCalcExpression.Eval...

Id #28356 | Release: None | Updated: Jul 15, 2016 at 7:33 PM by david_n_m_bond | Created: Jul 15, 2016 at 7:33 PM by david_n_m_bond

IsParameterDefined Operator

I'd like to propose a new operator that I'm calling IsParameterDefined. I'd like to use it with an if() in the following way: if (IsParameterDefined([SomeParameterName]), [SomeParameterName] * 5,...

Id #28355 | Release: None | Updated: Mar 3, 2016 at 1:07 PM by module11 | Created: Mar 3, 2016 at 1:07 PM by module11

Adding a Parameter in the EvaluateParameter delegate

Hi, can we have the ability to add new parameters to the the expression when the EvaluateParameter delegate is running. For example: expression.EvaluateParameter += delegate(string name, ParameterA...

Id #28354 | Release: None | Updated: Mar 3, 2016 at 1:02 PM by module11 | Created: Mar 3, 2016 at 1:02 PM by module11

Allow to configure CultureInfo

I see many posts here about dots and comma as the decimal value separator. From what I see, it use the current computer cultureinfo. I have a french Windows (,), and work with numbers written in ...

Id #28353 | Release: None | Updated: Feb 9, 2016 at 8:11 PM by Dunge | Created: Feb 9, 2016 at 8:05 PM by Dunge

Remove debugging call to improve performance

This is the line that I am referring to. I do not think it is appropriate in a library. https://github.com/tyrone-sudeium/NCalc/blob/c141185099082663e5c7651e6b87823c9887feb3/Evaluant.Calculator/E...

Id #28352 | Release: None | Updated: Mar 29 at 11:13 AM by Benjy1979 | Created: Feb 1, 2016 at 5:38 PM by waynenilsen

Max undefined?

I have defined alot of custom functions but I was hoping to also use some of the built in functions. Right now it seems that t'Max" is an invalid function. Any ideas on how to get it recognized? My...

Id #28351 | Release: None | Updated: Nov 12, 2015 at 6:19 PM by KevinBurton | Created: Nov 12, 2015 at 6:19 PM by KevinBurton