Closed lesha724 closed 10 months ago
Hello everyone. I get mistake, when I try evaluate next expression:
var result = new Interpreter().Eval<bool>("78/83==61/96");
The result value is true, but 78.0/83.0==61.0/96.0 has correct value false.
result
true
78.0/83.0==61.0/96.0
false
I use version 2.16.1.
I founded solution:
interpreter.SetDefaultNumberType(DefaultNumberType.Decimal);
Hello everyone. I get mistake, when I try evaluate next expression:
The
result
value istrue
, but78.0/83.0==61.0/96.0
has correct valuefalse
.I use version 2.16.1.