ToolGood.Algorithm
ToolGood.Algorithm copied to clipboard
=00005.5*10 not work
Hi,
it seems formula =00005.5*10 not work. =value(00005.5) doesn't work either. only =value("00005,5")*10 or "00005.5"*10 works.
could you support =00005.5*10 and =value(00005.5)?
thanks, lyk
Application has no errors
AlgorithmEngine engine = new AlgorithmEngine();
var dt = engine.TryEvaluate("value(\"0.00055\")*10", 0.0);
Assert.AreEqual(dt, 0.0055,6);
AlgorithmEngine engine = new AlgorithmEngine();
var dt = engine.TryEvaluate("value(\"0.00055\")*10", 0); // If you change it like this, you will make mistakes
Assert.AreEqual(dt, 0.0055,6);