You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the sample project mentioned in readme: https://dotnetfiddle.net/up4x3W
I'm changing expression value to string expression = "1+.5"; which should be identical to string expression = "1+0.5"; (it is a valid syntax in C#)
Right now it throws an exception:
Invalid character [46:.]
Stack Trace:
[CodingSeb.ExpressionEvaluator.ExpressionEvaluatorSyntaxErrorException: Invalid character [46:.]]
at CodingSeb.ExpressionEvaluator.ExpressionEvaluator.Evaluate(String expression)
at Program.Main() :line 20
Running the sample project mentioned in readme: https://dotnetfiddle.net/up4x3W
I'm changing
expression
value tostring expression = "1+.5";
which should be identical tostring expression = "1+0.5";
(it is a valid syntax in C#)Right now it throws an exception:
I wasn't able to find an option that could enable this behavior. Does it mean I need to tweak the evaluator like mentioned on this page?
https://github.com/codingseb/ExpressionEvaluator/wiki/Advanced-Customization-and-Hacking
The text was updated successfully, but these errors were encountered: