expression-evaluator-c-sharp icon indicating copy to clipboard operation
expression-evaluator-c-sharp copied to clipboard

Matheval is a mathematical expressions evaluator library written in C#. Allows to evaluate mathematical, boolean, string and datetime expressions

Results 22 expression-evaluator-c-sharp issues
Sort by recently updated
recently updated
newest added

My use case requires the ability to add into some additional simple functions for common business rule stuff (imagine a ORDER_ID() function that takes strings and produces a valid order...

Hi, I am not sure if this is an issue or perhaps these features are not implemented yet. But as per the documentation, date expressions are supported. When I tried...

Your package is very full featured, but the accuracy is often limited because the .NET System.Math class does not support the decimal data type for many of the functions that...

Hi @matheval First of all thank you very much for your work, I am very satisfied with the library. Very good work. Evaluating formulas with numeric literals can give errors...

Hi @matheval really thanks for you library works very well. I'm facing an issue with "OR" operator that returns always "true". please find below an online example https://dotnetfiddle.net/P9zFsG can you...

Hi, I tried to evaluate "pi/2" and result is ok: 1.570796 Then I tried to evaluate "pi/2+1.570796" but result is "1570797,570796" It seems decimal separator (.) is not interpreted or...

Really very nice expression evaluation engine Thanks @matheval Integrate the logic for adding custom constant values during the evaluation process. Example: I want to add custom constant addConstant("[%CurrentDateTime%]",DateTime.Now); Help me...

Hi @matheval thanks for your library works very well. In a data table, a formula column allows you to perform calculations based on values from other columns. Let's say you...

When a collection variable is given to a operation without expecting one, something like "1+2 + List", an exception is thrown: System.Exception: PLUS operator can only be applied to numeric,...

Resolves issue #7 with the ability to register external function. Based on work by @MSpekkio in #9 The static Parser.RegisterFunction allows the registration of a type (derived from IFunction) or...