Is there a way to divide a decimal by another decimal in Ncalc?
When I try
Expression exp = new Expression("119 / 1.19");
try
{
MessageBox.Show(exp.Evaluate().ToString());
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, "ERROR");
}
I get:
"Operator '/' can't be applied to operands of type 'decimal' and 'double'".