Open
Description
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
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
Metadata
Metadata
Assignees
Labels
No labels