CodePlexProject Hosting for Open Source Software
version 1.3.3 test code :
Expression e = new Expression("2 * [x] ^ 2 + 5 * [y]");
e.Parameters["x"] = 5;
e.Parameters["y"] = 1;
result = 13
why? result = 55 is correctly!
It might be cumbersome but the ^ operator is for bitwise xor. There is a Pow(x,y) function for powers.
I see, thank you a lot!
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.